Example #1
0
func (s *suite256) Cipher(key []byte, options ...interface{}) abstract.Cipher {
	return sha3.NewShakeCipher256(key, options...)
}
Example #2
0
func BenchmarkShake256_1K(b *testing.B) {
	benchmarkCipher(b, sha3.NewShakeCipher256(abstract.NoKey), 1024)
}