Cipher Class
- Cipher.BlockBytes Method
- Return the block size in bytes for a given cipher algorithm.
- Cipher.Decrypt Method (Byte[], Byte[], Byte[], CipherAlgorithm, Mode)
- Decrypt data block in byte array.
- Cipher.Decrypt Method (Byte[], Byte[], Byte[], CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Decrypt data in a byte array using the specified block cipher algorithm, mode and padding.
- Cipher.Decrypt Method (String, String, String, CipherAlgorithm, Mode)
- Decrypt data block as hex-encoded string.
- Cipher.Decrypt Method (String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Decrypt hex-encoded data using specified block cipher algorithm, mode and padding.
- Cipher.DecryptAEAD Method (Byte[], Byte[], Byte[], AeadAlgorithm)
- Decrypt data using the AES-GCM authenticated encryption algorithm.
- Cipher.DecryptAEAD Method (Byte[], Byte[], Byte[], Byte[], AeadAlgorithm, Cipher.Opts)
- Decrypt data using the AES-GCM authenticated encryption algorithm with AAD and options.
- Cipher.Encrypt Method (Byte[], Byte[], Byte[], CipherAlgorithm, Mode)
- Encrypt data block in byte array.
- Cipher.Encrypt Method (Byte[], Byte[], Byte[], CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Encrypt data in a byte array using the specified block cipher algorithm, mode and padding.
- Cipher.Encrypt Method (String, String, String, CipherAlgorithm, Mode)
- Encrypt data block as hex-encoded string.
- Cipher.Encrypt Method (String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Encrypt hex-encoded data using specified block cipher algorithm, mode and padding.
- Cipher.EncryptAEAD Method (Byte[], Byte[], Byte[], AeadAlgorithm)
- Encrypt data using the AES-GCM authenticated encryption algorithm.
- Cipher.EncryptAEAD Method (Byte[], Byte[], Byte[], Byte[], AeadAlgorithm, Cipher.Opts)
- Encrypt data using the AES-GCM authenticated encryption algorithm with AAD and options.
- Cipher.FileDecrypt Method (String, String, Byte[], Byte[], CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.FileDecrypt Method (String, String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Decrypt a file passing key and IV as hex strings.
- Cipher.FileEncrypt Method (String, String, Byte[], Byte[], CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.FileEncrypt Method (String, String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Encrypt a file passing key and IV as hex strings.
- Cipher.KeyBytes Method
- Return the key size in bytes for a given cipher algorithm.
- Cipher.KeyUnwrap Method
- Unwrap (decrypt) key material with a key-encryption key.
- Cipher.KeyWrap Method
- Wrap (encrypt) key material with a key-encryption key.
- Cipher.Pad Method (Byte[], CipherAlgorithm, Padding)
- Pad byte array to correct length for ECB and CBC encryption.
- Cipher.Pad Method (String, CipherAlgorithm, Padding)
- Pad hex-encoded string to correct length for ECB and CBC encryption.
- Cipher.Unpad Method (Byte[], CipherAlgorithm, Padding)
- Remove padding from an encryption block.
- Cipher.Unpad Method (String, CipherAlgorithm, Padding)
- Remove padding from a hex-encoded encryption block.
[Contents] [Index]