Package 

Class AESEncryptionManager

  • All Implemented Interfaces:

    
    public final class AESEncryptionManager
    
                        

    Encryption / Decryption service using the AES algorithm example for nullbeans.com https://nullbeans.com/how-to-encrypt-decrypt-files-byte-arrays-in-java-using-aes-gcm/#Generating_an_AES_key

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • AESEncryptionManager

        AESEncryptionManager()
    • Method Detail

      • decryptData

         final ByteArray decryptData(SharedPreferences sharedPref, String encryptPassword, ByteArray encryptedData)

        This method will decrypt the given data

        Parameters:
        sharedPref - : the sharedPref, to fetch the key
        encryptedData - : the data that will be decrypted