node-object-encrypter
node-object-encrypter copied to clipboard
Encrypt/decrypt javascript objects as base64 strings with optional TTL support
I'm running decrypt on the client and getting this error when passing it a string. No error when passing no parameters... Thx
Instead of simply passing the string of your secrets to the cipher methods, I would suggest creating a Buffer and passing that. The main reason is that under the covers,...
When you encrypt multiple objects with the same key, the resulting base-64 string will start the same, this could be a potential vector for attack, because it's predictable across different...