![]() ![]() We would prompt the user to provide a decryption key (in the example above 'secret key 123'), which we'd put some requirements on such as minimum character length, including a number, special character etc.įrom a security perspective, do you see anything wrong with this setup, considering the use-case? Var originalText = bytes.toString(8) Ĭonsole.log(originalText) // 'my message' Var bytes = (ciphertext, 'secret key 123') Var ciphertext = ('my message', 'secret key 123').toString() No plain text secrets would ever be received by our server or stored in our database.įrom CryptoJS's documentation: var CryptoJS = require("crypto-js") This would encrypt everything on the client side, and send it to the server-side using HTTPS before it is saved to our database. I'm building an application, part of which will allow businesses to store secrets. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |