Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/MD5/Neko/md5.neko
Normal file
14
Task/MD5/Neko/md5.neko
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
MD5 in Neko
|
||||
Tectonics:
|
||||
nekoc md5.neko
|
||||
neko md5
|
||||
*/
|
||||
|
||||
var MD5 = $loader.loadprim("std@make_md5", 1);
|
||||
var base_encode = $loader.loadprim("std@base_encode", 2);
|
||||
|
||||
var result = MD5("The quick brown fox jumps over the lazy dog");
|
||||
|
||||
/* Output in lowercase hex */
|
||||
$print(base_encode(result, "0123456789abcdef"));
|
||||
Loading…
Add table
Add a link
Reference in a new issue