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