Skip to content

lightest-night/system.encryption

Repository files navigation

Lightest Night

Encryption

Tools and utilities useful in encrypting data

Build Status

How To Use

Key Generation
  • Use the KeyFactory.GenerateKeyPair function to generate a Public & Private key
Encryption
  • Serialize the object
  • Use the Encryptor.Encrypt(byte[] publicKey, string dataToEncrypt) function
Decryption
  • Use the Decryptor.Decrypt<TValue>(byte[] privateKey, EncryptedDataBlock dataBlock) function

Delegation

The GenerateKeyPair delegate can be mapped in your IoC container to a singleton for ease of use

About

Tools and utilities useful in encrypting data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages