CryptoSys API
Library Manual
Cipher Class
Cipher.BlockBytes Method
Return the block size in bytes for a given cipher algorithm
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, Padding, Cipher.Opts)
Decrypt hex-encoded data using specified block cipher algorithm, mode and padding.
Cipher.Dispose Method
Dispose of this object and clear any stored data.
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, Padding, Cipher.Opts)
Encrypt hex-encoded data using specified block cipher algorithm, mode and padding.
Cipher.FileDecrypt Method
Decrypt a file with block cipher
Cipher.FileEncrypt Method
Encrypt a file with block cipher
Cipher.InitDecrypt Method
(Byte[], Byte[], CipherAlgorithm, Mode)
Initializes with key, iv, algorithm and mode ready to start decrypting with repeated update operations.
Cipher.InitDecrypt Method
(String, String, CipherAlgorithm, Mode)
Initializes with hex-encoded key, iv, algorithm and mode ready to start decrypting with repeated update operations.
Cipher.InitEncrypt Method
(Byte[], Byte[], CipherAlgorithm, Mode)
Initializes with key, iv, algorithm and mode ready to start encrypting with repeated update operations.
Cipher.InitEncrypt Method
(String, String, CipherAlgorithm, Mode)
Initializes with hex-encoded key, iv, algorithm and mode ready to start encrypting with repeated update operations.
Cipher.Instance Method
Create the one and only instance
Cipher.KeyBytes Method
Return the key size in bytes for a given cipher algorithm
Cipher.KeyUnwrap Method
Unwraps (decrypts) key material with a key-encryption key
Cipher.KeyWrap Method
Wraps (encrypts) key material with a key-encryption key
Cipher.Pad Method
(Byte[], CipherAlgorithm, Padding)
Pad byte array for block cipher.
Cipher.Pad Method
(String, CipherAlgorithm, Padding)
Pads hex-encoded string for block cipher.
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.
Cipher.Update Method
(Byte[])
Transform byte input data with previously initialized key, mode and direction.
Cipher.Update Method
(String)
Transform hex string data with previously initialized key, mode and direction
Cipher.ErrCode Property
[
Contents
] [
Index
]
[
PREV: Blowfish Class...
] [
Contents
] [
Index
]
[
NEXT: CipherStream Class...
]