On Tue, Dec 29, 2015 at 1:24 PM, Tim Bronski <tim.bronski@xxxxxxxxx> wrote:

This is not an MD5 hash - it's too long. It looks like a SHA1 hash.

Indeed. The sample code Jack linked to, if taken verbatim, is for
SHA-1. (This is also implied by the URL.) He did say he tried the
other types (the code gives named constants HASH_MD5, HASH_SHA1,
HASH_SHA256, HASH_SHA384, and HASH_SHA512; with the comment that
you're supposed to set alg.HashAlg to the one you want).

On 12/29/2015 7:14 PM, Jack Tucky wrote:
This website gets a different result!

For what it's worth, Python's hash library generates the same MD5 hash
for the given input, so I'm confident that the Miracle Salad site is

Maybe there is some miscommunication going on regarding either the
sample input or the procedure you're supposed to use? (By that I mean,
maybe you misunderstood what the site is trying to tell you, or maybe
the site is telling you something wrong/misleading/hard to

Personally, I wouldn't even worry about whether you're doing the RPG
right until you have figured out how to feed the Miracle Salad site
the right input to generate the desired output.

John Y.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].