- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkAESCBCEncrypt1K (0.16 sec)
-
src/crypto/cipher/benchmark_test.go
benchmarkAESStream(b, cipher.NewCTR, make([]byte, almost1K)) } func BenchmarkAESCTR8K(b *testing.B) { benchmarkAESStream(b, cipher.NewCTR, make([]byte, almost8K)) } func BenchmarkAESCBCEncrypt1K(b *testing.B) { buf := make([]byte, 1024) b.SetBytes(int64(len(buf))) var key [16]byte var iv [16]byte aes, _ := aes.NewCipher(key[:]) cbc := cipher.NewCBCEncrypter(aes, iv[:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 28 19:13:50 UTC 2021 - 3.3K bytes - Viewed (0)