1
0
Fork 0
forked from fun/fun

The foundation for the internal standard library. (0.16.2)

This commit is contained in:
Johannes Findeisen 2025-10-01 03:30:26 +02:00
commit f0ed1d6761
13 changed files with 88 additions and 197 deletions

View file

@ -12,7 +12,7 @@
*/
// Include the pure Fun MD5 library
include "lib/crypt/md5.fun"
include <crypt/md5.fun>
// create a hasher instance
md5 = MD5()
@ -31,4 +31,7 @@ print(md5.md5_hex("6d65737361676520646967657374")) // -> f96b697d7cb7938d525a2f
// "abcdefghijklmnopqrstuvwxyz"
print(md5.md5_hex("6162636465666768696a6b6c6d6e6f707172737475767778797a")) // -> c3fcd3d76192e4007dfb496cca67e13b
// "Have Fun!"
print(md5.md5_str("Have Fun!")) // ->
print("=== Done ===")