Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
What is a good cryptographic challenge to use? #1
So far, I've used signing a cleartext with a key type that is supported by WebCrypto.
Finding the cleartext which has a certain hash given a certain strong secure hashing algorithm would probably be another option.
What is a challenge that is:
SHA-256 seems to be a good one-way hash function which satisfies all these conditions. I'm not sure whether it would be better to, for instance, to apply SHA-256 1000 times instead of just once. Since the string that's being hashed is random, we probably don't have to think about things like padding and salt.