cioccarellia / ksprefs

Kotlin SharedPreferences wrapper & cryptographic android library.
https://cioccarellia.github.io/ksprefs/
Apache License 2.0
228 stars 22 forks source link

Empty strings throws a wrong padding exception #6

Closed cioccarellia closed 6 years ago

cioccarellia commented 6 years ago

While retrieving a empty string ("") I encountered an exception, because obviously those strings shouldn't even be passed to the decrypt()function.