Skip to content

A simple cryptographic hash with salt algorithms on SHA512 crypto class.

Notifications You must be signed in to change notification settings

sthapa123/Hasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Hasher

This class generates and compares hashes using SHA512 hashing algorithm. Before computing a hash, it appends a randomly generated salt to the plain text, and stores this salt appended to the result. To verify another plain text value against the given hash, this class will retrieve the salt value from the hash string and use it when computing a new hash of the plain text. Appending a salt value to the hash may not be the most efficient approach, so when using hashes in a real-life application, you may choose to store them separately. You may also opt to keep results as byte arrays instead of converting them into base64-encoded strings.

About

A simple cryptographic hash with salt algorithms on SHA512 crypto class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages