SHA3 algorithm implementation