Class BouncyCastleAesCbcBytesEncryptor

    • Constructor Detail

      • BouncyCastleAesCbcBytesEncryptor

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

        public BouncyCastleAesCbcBytesEncryptor​(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.