aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-11-25 20:27:54 +0100
committerMichael Koziarski <michael@koziarski.com>2008-11-25 20:51:30 +0100
commit07abc5efe1bc71902b0c517ef97dcb36564f2336 (patch)
treef7874f9b0a4d01e63245a637d79983f4cefbf058 /railties/lib
parente126e1aac07d353e10fe9871fc3fc3f040cc8911 (diff)
downloadrails-07abc5efe1bc71902b0c517ef97dcb36564f2336.tar.gz
rails-07abc5efe1bc71902b0c517ef97dcb36564f2336.tar.bz2
rails-07abc5efe1bc71902b0c517ef97dcb36564f2336.zip
Add a MessageEncryptor, just like MessageVerifier but using symmetric key encryption.
The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to A motivated coder could use this to add an :encrypt=>true option to the cookie store.
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions