Digests in raku
This is a raku repository implementing some digest
By default the module uses a pure raku implementation, which is slow. An
nativecall wrapper is used when
DIGEST_METHOD environment variable is set to "openssl". This wrapper
requires OpenSSL version 3 or above.
Nb. Since commit 911c292688ad056a98285f7930297c5e1aea3bfb,
there is no
Digest module anymore, the submodules,
so on must be used directly.
say md5 "hello";
key => "key",
msg => "The quick brown fox jumps over the lazy dog",
hash => &md5,
block-size => 64;
say sha1 "Hola";
say sha256 "Привет";
say rmd160 "Saluton";
say sha3_256 "Bonjour";
say shake256 "Merhaba", 16;
# This will keep printing blocks
.say for shake256 "नमस्ते", *;
- Digest::RIPEMD :
This work is published under the terms of the artistic license, as rakudo is.
See LICENSE file.