4 ms·
Well; for what ostensibly is a secretive, millenial "circle of artists and wizards"; that is an awfully non-cryptographic, weak hash function. Apparently (varia
by gone35 12y ago
Well; for what ostensibly is a secretive, millenial "circle of artists and wizards"; that is an awfully non-cryptographic, weak hash function. Apparently (variants thereof) are commonly used in some JavaScript circles to mimic a popular implementation of Java's String.hashCode() method [1,2,3].
[1] http://werxltd.com/wp/2010/05/13/javascript-implementation-of-javas-string-hashcode-method/ http://werxltd.com/wp/2010/05/13/javascript-implementation-o...
[2] http://stackoverflow.com/questions/6122571/simple-non-secure-hash-function-for-javascript/8831937#8831937 http://stackoverflow.com/questions/6122571/simple-non-secure...
[3] http://en.wikipedia.org/wiki/Java_hashCode() http://en.wikipedia.org/wiki/Java_hashCode()
- makoConstruct 12y agoYou expected something more esoteric? I think it's a matter of perspective. Sure, as a crypto challenge, it's weak. But if you think of it as our standard UI for configuring one's user icon...