JuliaCrypto / Nettle.jl

Julia wrapper around nettle cryptographic hashing/encryption library providing MD5, SHA1, SHA2 hashing and HMAC functionality, as well as AES encryption/decryption
Other
51 stars 34 forks source link

PKCS5 padding check #112

Closed nandoconde closed 2 years ago

nandoconde commented 2 years ago

I think this covers #110 good enough.

Thanks for suggesting the code, there was an off-by-one in the array index that I corrected. I have added a test too.

I have commented in the code something that I suspect might be unnecessary.

@staticfloat