Cryptography library include:
- Symmetric encryption algorithms: BlowFish
- Cryptographic hash functions: SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
string value = "a";
ICryptor cryptor = CryptorBuilder.WithKey("FFFFFFFFFF").CreateCryptor(ECryptAlgorithm.BlowFish);
var encrypt = cryptor.Encrypt(value);
var decrypt = cryptor.Decrypt(encrypt);
string value = "a";
ICryptor cryptor = CryptorBuilder.Blowfish;
var encrypt = cryptor.Encrypt(value);
var decrypt = cryptor.Decrypt(encrypt);
IHashing hash = HashBuilder.SHA1;
hash.Hashing("a");
IHashing hash = HashBuilder.SHA224;
hash.Hashing("a");
IHashing hash = HashBuilder.SHA256;
hash.Hashing("a");
IHashing hash = HashBuilder.SHA384;
hash.Hashing("a");
IHashing hash = HashBuilder.SHA512;
hash.Hashing("a");