Notes on generation of hash

"{{User committed identity|<full personal identifier>}}"=><hash1>

"{{User committed identity|<personal identifier> <hash1>}}"=><displayed hash>

=> implemented in DotLisp:

(mapcat!(fn(x)(prs(Strings:Right(+"0"(.ToString x"x"))2))) (.ComputeHash(SHA1:Create) (Encoding:ASCII.GetBytes(clip-text))))

and this corresponds to the hashes produced by http://people.eku.edu/styere/Encrypt/JS-SHA1.html

Start a discussion about improving the User:Markhurd/Hash page

Start a discussion