./nugetz
pkg

mohamedbenhariz/CryptDecryptv2.1.0

docs d<> code .compare c
.NET 8.0

Package Description

License

Deps

0

Install Size

Vulns

✓ 0

Published

Apr 23, 2024

Get Started

$ dotnet add package CryptDecrypt

Readme

.NET

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.