FileEncryption Class
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9147)
Provides high level API for encrypting and decrypting files and streams.
Syntax
public class FileEncryption
Inherited Members
Constructors
Name | Description |
---|---|
File |
Creates a new instance of File |
Properties
Name | Description |
---|---|
Encryption |
Gets or sets the encryption algorithm used for encryption and decryption. |
Encryption |
Gets or sets the encryption key size (null indicates default key size). |
Overwrite |
Get or sets a value indicating whether to overwrite existing target files. |
Xts |
Gets or sets XTS algorithm block size in bytes. Must be multiple of 16. Default value is 65536, maximum number is 1048576.
This is only used for Aes |
Methods
Name | Description |
---|---|
Decrypt(Stream, Stream) | Decrypts data from a source stream into a target stream. |
Decrypt(String, String) | Decrypts a source file into a target file. |
Decrypt |
Begins asynchronous Decrypt operation. Decrypts data from a source stream into a target stream. |
Decrypt |
Begins asynchronous Decrypt operation. Decrypts a source file into a target file. |
Encrypt(Stream, Stream) | Encrypts data from a source stream into a target stream. |
Encrypt(String, String) | Encrypts a source file into a target file. |
Encrypt |
Begins asynchronous Encrypt operation. Encrypts data from a source stream into a target stream. |
Encrypt |
Begins asynchronous Encrypt operation. Encrypts a source file into a target file. |
Set |
Sets password for encryption and decryption. |
Set |
Sets password for encryption and decryption. |
Set |
Sets password for encryption and decryption. |
Set |
Sets password for encryption and decryption. |