Exemple #1
0
// SHA3/SHAKE128 Sponge Cipher
func (s *suite128) Cipher(key []byte, options ...interface{}) abstract.Cipher {
	return sha3.NewShakeCipher128(key, options...)
}
Exemple #2
0
func BenchmarkShake128_1K(b *testing.B) {
	benchmarkCipher(b, sha3.NewShakeCipher128(abstract.NoKey), 1024)
}