Skip to content
No Name Pro edited this page Jul 10, 2020 · 3 revisions

It calculate text/files to hash. It use some popular methods of algorithm. Hash is a way, to encrypt something. For example passwords, to save it in the Database.

Examples

Converting a Text to Hash

It's really simple. Just run the method Helpfull.Hash.CalculateMD5 (I select MD5) and add the Text as Parameter.

string Hash = Helpfull.Hash.CalculateMD5(Text);

Converting a File to Hash

A file hashing is easy too. You just need a filename which you give to the Method as a String Parameter: Helpfull.Hash.CalculateMD5File

string Hash = Helpfull.Hash.CalculateMD5File("C://Users//John Doe//Documents//example.pdf");
Clone this wiki locally