Class BouncyCastleAesGcmBytesEncryptor

    • Constructor Detail

      • BouncyCastleAesGcmBytesEncryptor

        public BouncyCastleAesGcmBytesEncryptor​(java.lang.String password,
                                                java.lang.CharSequence salt)
      • BouncyCastleAesGcmBytesEncryptor

        public BouncyCastleAesGcmBytesEncryptor​(java.lang.String password,
                                                java.lang.CharSequence salt,
                                                BytesKeyGenerator ivGenerator)
    • Method Detail

      • encrypt

        public byte[] encrypt​(byte[] bytes)
        Description copied from interface: BytesEncryptor
        Encrypt the byte array.
      • decrypt

        public byte[] decrypt​(byte[] encryptedBytes)
        Description copied from interface: BytesEncryptor
        Decrypt the byte array.