BmpPwd is a Class Library for en/decrypting Text and visualizing it with a System.Drawing.Bitmap
-
NuGet
- BmpPwd is also available on NuGet! Install by typing
Install-Package BmpPwd
in NuGet Package Manager Console. (Or search forBmpPwd
on NuGet)
- BmpPwd is also available on NuGet! Install by typing
-
Manually
- Download the latest Library (.dll)
- Add the .dll to your Project (Right click
References
in the Project Tree View, clickAdd References
andBrowse
to the.dll
File)
using mrousavy.Cryptography;
//Needs Reference to System.Drawing dll
System.Drawing.Bitmap result = BmpPwd.Encrypt("MyPassword", "The string to be encrypted");
public class MyCryptoClass : ICrypto{
...
}
System.Drawing.Bitmap result = BmpPwd.Encrypt("MyPassword", "The string to be encrypted", new MyCryptoClass(), BmpPwd.DrawingScheme.Square, BmpPwd.ColorScheme.BlueMixed);