Class dbEncryptionAES

java.lang.Object
org.jpass.crypt.dbEncryptionAES

public class dbEncryptionAES extends Object
This class is used to encrypt and decrypt the password file.
  • Constructor Details

    • dbEncryptionAES

      public dbEncryptionAES()
      Constructor - load the file path
  • Method Details

    • encryptFileFromFile

      public static void encryptFileFromFile()
      Encrypts the file from plain text file
    • encryptFileFromBytes

      public static void encryptFileFromBytes(byte[] data)
      Encrypts data from bytes to the file
    • decryptFileToBytes

      public static void decryptFileToBytes()
      Decrypts the file to bytes
    • getInstance

      public static void getInstance(byte[] bkey)
      Gets the instance
      Parameters:
      bkey - byte array key