4 packages tagged with “decript”
Class, which allows you to encrypt and decrypt data using Rijndael cryptography algorithm
Class to crypt and decript strings. From https://stackoverflow.com/questions/10168240/encrypting-decrypting-a-string-in-c-sharp
A library to Encrypt/Decript and Hash files and strings It supports applications written with the .Net Framework v3.5 and above. It currently doesn't support Windows Phone, Windows e UWP apps. Implemented Algorithms: Hash ===== CRC32 HMAC-MD5 MD5 SHA-1 Unix-MD5 Unix-SHA2-256 Unix-SHA2-512 Implemented Algorithms: Encode/Decode ===== Base64 QuotedPrintable Rijndael (AES) TripleDes UUEncode See the project url for information on the usage.
Get the hashes that you want. MD5 SHA1 SHA256 SHA384 SHA512 AES You can check the credibility of the Hash using the method. IHash _hash = new Hash(); //SHA512 var result = _hash.GetHash("test", HashType.SHA512); var checkHash = _hash.CheckHash( "test", "9f7d8627e02f97cc5a52dcb2ba96038fe12f2a34b0fac50e041359ae13d5ede8a8a50562da58ba7916da378e7343ef91e85efbd6a0a70ab237ada4c2274df13d", HashType.SHA512); Console.WriteLine(checkHash); Console.WriteLine(result); //AES result = _hash.GetHash("test", HashType.AES); checkHash = _hash.CheckHash("test", "RtGVSiEcdh8vjjeKjLMoFA==", HashType.AES); Console.WriteLine(result); Console.WriteLine(checkHash);