Being able to encrypt and decrypt data within an application is very useful for a lot of circumstances. Let’s not confuse encryption and decryption with hashing like that found in a bcrypt library, where a hash is only meant to transform data in one direction.
Not too long ago I wrote about in a previous article how to encrypt and decrypt data using Node.js. This was partially inspired by me learning how to build software wallets for cryptocurrencies and encrypting the sensitive information. However, what if we wanted to use Go instead of Node.js?
We’re going to take a look at encrypting data and then decrypting it within a Go application by using the already available crypto packages.Read More
As you’ve probably noticed from the previous few articles, I’ve been doing a lot of development around cryptocurrency wallets using Node.js. Up until now, I’ve only been writing about interacting with different currencies. However, I haven’t discussed how to safely store your wallet information.
When it comes to storing anything sensitive, whether it be cryptocurrency secrets or something else, you must do so safely and securely. For example, the data must be encrypted at rest and decrypted when used.
We’re going to see how to encrypt data with a passphrase using Node.js and decrypt it using that same passphrase when necessary.Read More