Simple library for encrypting and decrypting data in Java/Kotlin
Enkryption
A simple library helper for encrypting and decrypting data in Java/Kotlin.
Features:
- AES/GCM/NoPadding >
AesGcmEncryption()
Disclaimer:
I am not a security expert/guru, this library is primarily made for convenience and productivity. If you found a security issue, please see reporting a security issue.
Usage
Visit the code documentation here.
Import the algorithm you need.
Most encryption has 3 methods/functions:
encrypt()
: Encrypts the data.decrypt()
: Decrypts the data.generateKey()
: Generate a key for the encryption.
Readable documentation is still a work in progress…
License
This project is licensed under the MIT License – see the LICENSE file for details
Acknowledgements
- Java Authenticated Encryption with AES and GCM by Patrick Favre-Bulle
- Security Best Practices: Symmetric Encryption with AES in Java and Android