Simple encryption and decryption with secret in TypeScript
In this article I will show you how to easier using built-in nodejs module crypto.
For this code we need SECRET_KEY and SECRET_IV environments.
You can write everything in this variables but if you change values after encrypted data, you decryption ...
blog.tyszko.dev1 min read