<commit_before># BmpPwd
A Library for en/decrypting Passwords and marshalling them with ASCII Values to a System.Drawing.Bitmap<commit_msg>Updated README Info with basic Tutorial<commit_after># <img src="https://github.com/mrousavy/BmpPwd/blob/master/Images/BmpPwd.png?raw=true" width="42"> BmpPwd
**BmpPwd** is a _Class Library_ for **en/decrypting** Text and visualizing it with a **System.Drawing.Bitmap**

[Download the Demo (.exe)](https://github.com/mrousavy/BmpPwd/releases/download/1.0.0.3/BmpPwdTest.exe)

# How to use

### 1. Add Binaries
   + NuGet
      * [BmpPwd is also available on NuGet!](https://www.nuget.org/packages/BmpPwd)   Install by typing `Install-Package BmpPwd` in NuGet Package Manager Console. (Or search for `BmpPwd` on NuGet)

   + Manually
      1. [Download the latest Library (.dll)](https://github.com/mrousavy/BmpPwd/releases/download/1.0.0.3/BmpPwd.dll)
      2. Add the .dll to your Project   (Right click `References` in the Project Tree View, click `Add References` and `Browse` to the `.dll` File)

### 2. Add the reference
   * C# (using)
   ```C#
   using mrousavy.Cryptography;
   ```

### 3. Encrypt a string
   * C#
   ```C#
   Bitmap result = BmpPwd.Encrypt("MyPassword", "The string to be encrypted");
   ```
   
### 4. Import your own Encryption
   *
   ```C#
   public class MyCryptoClass : ICrypto{
        ...
   }
   ```

### 5. Use custom Parameters:
   * `Bitmap result = BmpPwd.Encrypt("MyPassword", "The string to be encrypted", new MyCryptoClass(), BmpPwd.DrawingScheme.Square, BmpPwd.ColorScheme.BlueMixed);`

# Screenshots
<img src="https://github.com/mrousavy/BmpPwd/blob/master/Images/Screenshot.png?raw=true">
<img src="https://github.com/mrousavy/BmpPwd/blob/master/Images/Screenshots.gif?raw=true">

# Thanks for using BmpPwd!
{'fraction_non_alphanumeric': 0.14293690675600224, 'fraction_numerical': 0.009491903964265773, 'mean_word_length': 3.8961748633879782, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 6, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '994911', 'n_tokens_mistral': 665, 'n_tokens_neox': 630, 'n_words': 161}