On Nov 10, 6:45 am, "George Moschovitis" <george.moschovi... at gmail.com> wrote: > > OpenSSL::HMAC > > i think this is used in rails. Why is this better suited? Is this two-way? B/c it was designed to do pretty much exactly you are wanting to do. http://en.wikipedia.org/wiki/HMAC Plus it's built into ruby. T.