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