From: Zangief Ief Date: 2008-10-16T20:29:13+09:00 Subject: Re: Big endian convention in Ruby Thanks you for you answer. Actually I would like to rewrite the SHA1 algorithm (http://en.wikipedia.org/wiki/SHA_hash_functions#SHA-1_pseudocode) in a pure ruby implementation. And in this way, I would need the ability to accomplish the "Pre-processing" step by converting the input as a 64-bit big-endian integer. I believe that's could be more simple to do in Ruby then in an other language such as in C. But I am not really sure about the way to do so. -- Posted via http://www.ruby-forum.com/.