8000 GitHub - obviex/Samples: Code samples illustrating how to use cryptography in C# and VisualBasic.NET for such common tasks as data encryption, hashing, and random password generation.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ Samples Public

Code samples illustrating how to use cryptography in C# and VisualBasic.NET for such common tasks as data encryption, hashing, and random password generation.

License

Notifications You must be signed in to change notification settings

obviex/Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Samples

The following code samples illustrate how to use cryptography in C# and VisualBasic.NET for such common tasks as data encryption, hashing, and random password generation.

Illustrates how to generate a persistent (i.e. non-random) symmetric key and use this key to encrypt and decrypt data. This sample is intended to help novice users get a grasp on encryption and decryption.

Explains how to use random salt values when encrypting the same plain text value with the same symmetric key to generate different cipher text. This approach eliminates the need to use different initialization vectors or keys for the purpose of avoiding dictionary attacks.

Demonstrates how to encrypt and decrypt data using Windows Data Protection API (DPAPI).

Illustrates how to hash a text string with a random salt value using various hashing algorithms and verify a hash against a plain text value.

Shows how to generate a random password, which consists of a combination of 7-bit ASCII alpha-numeric characters and special symbols, but does not contain ambiguous characters (such as [1,I,l]).

About

Code samples illustrating how to use cryptography in C# and VisualBasic.NET for such common tasks as data encryption, hashing, and random password generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0