asdine / storm

Simple and powerful toolkit for BoltDB
MIT License
2.06k stars 139 forks source link

AES: Add guard for data length to prevent panicking #275

Closed vansante closed 4 years ago

vansante commented 4 years ago

To prevent panicking when attempting to decrypt data slices that are too small, add a guard with a custom error.

asdine commented 4 years ago

Thank you @vansante, sorry for the delay!