This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/groovy | |
| /* | |
| * Demonstrate Merkle trees by "Merklizing" the words of a sentence supplied as command line arguments | |
| * Example: merkle The dog jumped over the moon | |
| */ | |
| HASHPREFIXLEN = 8 | |
| static byte[] hash(List<byte[]> input) { |
OlderNewer