(key, iv []byte, isRead bool)
| 408 | } |
| 409 | |
| 410 | func cipher3DES(key, iv []byte, isRead bool) any { |
| 411 | block, _ := des.NewTripleDESCipher(key) |
| 412 | if isRead { |
| 413 | return cipher.NewCBCDecrypter(block, iv) |
| 414 | } |
| 415 | return cipher.NewCBCEncrypter(block, iv) |
| 416 | } |
| 417 | |
| 418 | func cipherAES(key, iv []byte, isRead bool) any { |
| 419 | block, _ := aes.NewCipher(key) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…