(b *testing.B)
| 34 | } |
| 35 | |
| 36 | func BenchmarkRSAEncryption(b *testing.B) { |
| 37 | rsa := rsa.New() |
| 38 | for i := 0; i < b.N; i++ { |
| 39 | rsa.EncryptString("Hello, World!") |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func BenchmarkRSADecryption(b *testing.B) { |
| 44 | rsa := rsa.New() |
nothing calls this directly
no test coverage detected