Search code examples
javaencryptioncryptographysha1

Java using SHA1


I try to implement a SHA1 decoder but i can't find something usefull on internet. Can anyone help me find information on how I can implement an SHA1 decryption. I want to transform the encrypted data to Strings.


Solution

  • I try to implement a SHA1 decoder but i can't find something useful on internet.

    SHA-1 is a hash function. It's one-way: you hash the data, and get a hash. If you hash the same data, you'll get the hash; if you hash different data, you'll "almost certainly" get a different hash.

    If you could "decrypt" it, it wouldn't be doing its job.