Skip to content

Encryption and decryption byte array using Android KeyStore

Notifications You must be signed in to change notification settings

Hooshmand-Sepehr/AndroidEncryption

Repository files navigation

Android Encryption

Android App performs encryption and decryption byte array using Android KeyStore

v1.0 - 2022-07-31

v1.1 - 2022-08-02

Requirement

  • RSA encryption
    • Android 4.3 (API 18) or later
  • AES encryption
    • Android 6.0 (API 23) or later

This is due to Android OS hardware restrictions. More details.

For other encryption options supported by Android, please see here.

Default encryption mode

  • RSA encryption
    • BlockMode : ECB
    • Padding : PKCS1Padding
  • AES encryption
    • BlockMode : CBC
    • Padding : PKCS7Padding

Libraries included in this project:

Screenshots

| | | | |