I hereby claim:
- I am jaketarnow on github.
- I am jaketarnow (https://keybase.io/jaketarnow) on keybase.
- I have a public key ASCEGDY1JdIciy8jGZSkYuxH__L_Lb6KVuUmQU09At3J0Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
public class CryptoOne { | |
public static String getHash(String word, int x) throws NoSuchAlgorithmException { | |
String oldWord = word; | |
String newWord = null; | |
MessageDigest digest = MessageDigest.getInstance("SHA-256"); | |
for (int i = 0; i < x; i++) { | |
if (newWord != null) { |