[Nitro] two way crypt function

George Moschovitis george.moschovitis at gmail.com
Fri Nov 9 16:24:04 EST 2007


I ve asked this before:

is there a two-way 'crypt' function in ruby?

ie:


a = encrypt(original, "mysecret")
b = decrypt(a, "mysecret")

# ===> b == original

thanks in advance for any help. I am looking for something fast (not super
secure)

-g.


-- 
http://me.gr
http://joy.gr
http://cull.gr
http://nitroproject.org
http://phidz.com
http://joyerz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20071109/a7daf56b/attachment.html 


More information about the Nitro-general mailing list