[Nitro] two way crypt function

George Moschovitis george.moschovitis at gmail.com
Sat Nov 10 02:24:44 EST 2007


Thanks,

ezcrypto does the work!

I am thinking about encrypting the session data with a two-way method and
skip the diggest test. Anyone sees any problems?

-g.



On Nov 9, 2007 11:37 PM, Reid Thompson <Reid.Thompson at ateb.com> wrote:

> previous reply --
>
> http://article.gmane.org/gmane.comp.lang.ruby.nitro.general/8394/match=crypt
>
>
> On Fri, 2007-11-09 at 23:24 +0200, George Moschovitis wrote:
> > 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
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
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/20071110/14624b3d/attachment.html 


More information about the Nitro-general mailing list