|
@@ -72,5 +72,5 @@ func (a *AesCBCWithPadding) Decrypt(ciphertext []byte) ([]byte, error) {
|
|
mode.CryptBlocks(decrypted, ciphertext)
|
|
mode.CryptBlocks(decrypted, ciphertext)
|
|
|
|
|
|
plaintext := zeroUnPad(decrypted)
|
|
plaintext := zeroUnPad(decrypted)
|
|
- return plaintext[aes.BlockSize:], nil
|
|
|
|
|
|
+ return plaintext, nil
|
|
}
|
|
}
|