Package Description
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Apr 23, 2024
Get Started
$ dotnet add package CryptDecryptReadme
From version 1.0.2 Extension method
*)Exemple Encrypt method
var textToEncrypt = "hello";
var encryptedText = textToEncrypt.Encrypt("12345678", "87654321");
results is encryptedText's having the value 9GxQvERTbMU=.
*)Exemple Decrypt method
var textToDecrypt = "9GxQvERTbMU=";
var clearText = stringToDecrypt.Decrypt("12345678", "87654321");
results is clearText's having the value hello.