Click or drag to resize

Cipher Methods

The Cipher type exposes the following members.

Methods
  Name Description
Public method Static member CreateAes Creates an Aes encryption algorithm that respects current FIPS setting.
Public method Static member CreateSHA1 Creates a SHA1 hashing algorithm that respects current FIPS setting.
Public method Static member CreateSHA256 Creates a SHA256 hashing algorithm that respects current FIPS setting.
Public method Static member CreateSHA384 Creates a SHA384 hashing algorithm that respects current FIPS setting.
Public method Static member CreateSHA512 Creates a SHA512 hashing algorithm that respects current FIPS setting.
Public Extension Method Decrypt(Byte, String, CipherStrength) Returns a binary array of decrypted data for the given parameters.
Public Extension Method Decrypt(String, String, CipherStrength) Returns a decrypted string from a Base64 encoded string of binary encrypted data from the given parameters.
Public Extension Method Decrypt(Byte, Byte, Byte, CipherStrength) Returns a binary array of decrypted data for the given parameters.
Public Extension Method Decrypt(Stream, Byte, Byte, CipherStrength) Returns a stream of decrypted data for the given parameters.
Public Extension Method Decrypt(Byte, Int32, Int32, String, CipherStrength) Returns a binary array of decrypted data for the given parameters.
Public Extension Method Decrypt(Byte, Int32, Int32, Byte, Byte, CipherStrength) Returns a binary array of decrypted data for the given parameters.
Public Extension Method Decrypt(Stream, Stream, Byte, Byte, CipherStrength, ActionProcessProgressInt64) Decrypts input stream onto output stream for the given parameters.
Public method Static member DecryptFile Creates a decrypted file from source file data.
Public Extension Method Encrypt(Byte, String, CipherStrength) Returns a binary array of encrypted data for the given parameters.
Public Extension Method Encrypt(String, String, CipherStrength) Returns a Base64 encoded string of the returned binary array of the encrypted data, generated with the given parameters.
Public Extension Method Encrypt(Byte, Byte, Byte, CipherStrength) Returns a binary array of encrypted data for the given parameters.
Public Extension Method Encrypt(Stream, Byte, Byte, CipherStrength) Returns a stream of encrypted data for the given parameters.
Public Extension Method Encrypt(Byte, Int32, Int32, String, CipherStrength) Returns a binary array of encrypted data for the given parameters.
Public Extension Method Encrypt(Byte, Int32, Int32, Byte, Byte, CipherStrength) Returns a binary array of encrypted data for the given parameters.
Public Extension Method Encrypt(Stream, Stream, Byte, Byte, CipherStrength, ActionProcessProgressInt64) Encrypts input stream onto output stream for the given parameters.
Public method Static member EncryptFile Creates an encrypted file from source file data.
Public method Static member ExportKeyIV Exports a key and initialization vector from the local system key cache.
Public method Static member FlushCache Blocks current thread and waits for any pending save of local system key cache to complete.
Public method Static member GetPasswordHash Gets the Base64 encoded SHA-256 hash of given user password.
Public method Static member ImportKeyIV Imports a key and initialization vector into the local system key cache.
Public method Static member KeyIVExists Determines if a key and initialization vector exists for the given password in the local system key cache.
Public method Static member ReloadCache Manually loads keys into the local system key cache.
Top
See Also