User talk:Markhurd/Hash

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
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