I have a use case where I need to encrypt some text in the browser using javascript. Only the encrypted text will be stored on the server.
The user should then be able to take the encrypted result and decrypt it with gpg on the command line. I want to use gpg as it's easily available and the AES appears to support iteration on passphrase hashing.
I'm hoping to use AES, however I can't what iteration count or salt gpg uses.
For example this site allows you to set parameters for AES decryption using Javascript. http://cheeso.members.winisp.net/AES-Encryption.htm
Would anyone know what parameters to use to be compatible with gpg ?