(b *testing.B)
| 41 | } |
| 42 | |
| 43 | func BenchmarkRSADecryption(b *testing.B) { |
| 44 | rsa := rsa.New() |
| 45 | encrypted := rsa.EncryptString("Hello, World!") |
| 46 | for i := 0; i < b.N; i++ { |
| 47 | rsa.DecryptString(encrypted) |
| 48 | } |
| 49 | } |
nothing calls this directly
no test coverage detected