// create an encryption/decryption object var encryptor = new FileEncryption(); // specify a password encryptor.SetPassword("secret password"); // decrypt a file encryptor.Decrypt("log.xts", "log.txt");Show me more code...
Also includes simple file encryption/decryption API, essential PKCS #7 objects and a collection of useful cryptographic algorithms.
Why Rebex Security?
Simple file encryption
FileEncryption objects provides a very simple file and stream encryption API that supports:
XTS-AES encryption stream
PKCS #7 (CMS) API with PSS and OAEP support
Rebex Security includes an API for two essential PKCS #7 (CMS) objects, SignedData and EnvelopedData, a standard format for electronic signature and encryption of binary data using X.509 certificates.
X.509 Certificate API
Rebex Security includes a platform-independent API for
X.509 certificates and related structures and operations.
This makes it possible to issue a self-signed certificate or create a custom certification authority for testing.
Converting certificates and private keys from one format to another is simple as well.
Certificate class supports signing/validation and encryption/decryption functionality as wel.
Rebex Security also includes several symmetric key algorithms such as Twofish, Blowfish or ArcFour that are not provided by .NET Framework, legacy hash algorithms and managed implementation of RSA, DSA and Diffie-Hellman. The following objects are available:
- Twofish symmetric cipher
- Blowfish symmetric cipher
- RC2™ * symmetric cipher
- ArcFour symmetric cipher (compatible with RC4)
- MD4 legacy hash algorithm
- MD5 legacy hash algorithm
- RSA public-key cryptography
- DSA public-key cryptography
- Diffie-Hellman key exchange algorithm
(*RC2 is a registered trademark of RSA Security LLC)
.NET Compact Framework
Learn more about supported standards and platforms.