removed debug code.
swapped sha2 for luacrypto, because it actually works right.