Skip to content

Given a string, returns a unicode hash of the desired length

License

Notifications You must be signed in to change notification settings

xyproto/symbolhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symbolhash

Build Status GoDoc

Online API Documentation

godoc.org

Features and limitations

Given a string, returns a unicode hash of the desired length.

The entropy is reflected by how much repetition there is in the resulting hash.

One possible use, if you administer a user database or is creating a web application admin dashboard, is to visually examine how similar password hashes are without viewing the actual password hashes.

Example

Example input and output:

"Several different words lalalalala", 16 -> ♥☻☘⇧❤❄תּ☂☢♞✂♻⚡▷☮♥

"hi", 16 -> ☭☢☭☢☭☢☭☢☭☢☭☢☭☢☭☢

General info

About

Given a string, returns a unicode hash of the desired length

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages