Files in the top-level directory from the latest check-in of branch trunk
- js
- php
- emojilist.txt
- LICENSE
- README.md
EmojiHash & Havok-N
About
Havok-N
A modified version of Fletcher & Adler checksums plus an optional iterative hash function.
For more info, see the wiki page: Havok-N
EmojiHash
Havok-N displayed in the form of a hand-picked set of emoji.
For more info, see the wiki page: EmojiHash
CLI usage
The current official and supported way to use Havok-N and EmojiHash from the CLI is to use the PHP implementation.
Usage:
php havokn.php <string|file> [depth] [iterations]
In English, that's php havokn.php
, followed by either the string you want to
hash or a path to the file you want to hash, optionally followed by the
checksum depth, optionally followed by the number of hashing iterations.
php emojihash.php <string|file> [depth] [iterations] [emojilist file]
In English, that's php emojihash.php
, followed by either the string you want
to hash or a path to the file you want to hash, optionally followed by the
checksum depth, optionally followed by the number of hashing iterations,
optionally followed by a file containing a list of emoji to use.
If not explicitly specified, depth defaults to 8, iterations defaults to 0, and
emojilist will try ./emojilist.txt
, then ../emojilist.txt
, and then fail if
neither are found.
There is currently no way to pass an arbitrary hash to emojihash.php from the command line, but if that's really what you want, I'm sure you could hack it in there.
License
Havok-N, EmojiHash, and the included implementations thereto - including the list of hand-picked emoji mappings included in emojilist.txt - are licensed under The 3-Clause BSD License with the military disclaimer (SPDX: BSD-3-Clause-No-Military-License). See LICENSE for the full text.