See here: https://code.google.com/p/crypto-js
Which one of these encryption methods is best for storing encrypted values in a database? I need some method of encryption that lets the process convert the string back and forth in the same manner every time.
For example: "sadfjpihdsf3njdasf" would convert to "hello world" and "hello world" always converts to "sadfjpihdsf3njdasf". The encryption methods I have tried yet seem to give me a different encrypted string each time.
The purpose of this is mainly to reduce the visibility of passwords stored in a secure database, so the level of security involved is rather basic.