Currently, the crypto only has a decrypt module, but sometimes decryption fails, possibly due to insufficient rigor in implementation. Now we need to provide better decryption and also provide encryption and unit testing.
func aes128CBCDecrypt(key, iv, encryptPass []byte) ([]byte, error) {
……
}
Why is this feature needed?
Enhance stability.
Checklist
[ ] I have checked the existing issues for similar problems.
Screenshots/Videos
If applicable, add screenshots or videos to help explain your proposal.
Additional Context
Add any other context or screenshots about the feature request here.
Feature Description
Currently, the crypto only has a decrypt module, but sometimes decryption fails, possibly due to insufficient rigor in implementation. Now we need to provide better decryption and also provide encryption and unit testing.
Why is this feature needed?
Enhance stability.
Checklist
Screenshots/Videos
If applicable, add screenshots or videos to help explain your proposal.
Additional Context
Add any other context or screenshots about the feature request here.