コード例 #1
0
ファイル: suite.go プロジェクト: eftychis/crypto-1
func (s *suite256) Cipher(key []byte, options ...interface{}) abstract.Cipher {
	return sha3.NewShakeCipher256(key, options...)
}
コード例 #2
0
ファイル: cipher_test.go プロジェクト: LegoShrimp/crypto
func BenchmarkShake256_1K(b *testing.B) {
	benchmarkCipher(b, sha3.NewShakeCipher256(abstract.NoKey), 1024)
}