Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
8
Task/SHA-1/Haxe/sha-1.haxe
Normal file
8
Task/SHA-1/Haxe/sha-1.haxe
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import haxe.crypto.Sha1;
|
||||
|
||||
class Main {
|
||||
static function main() {
|
||||
var sha1 = Sha1.encode("Rosetta Code");
|
||||
Sys.println(sha1);
|
||||
}
|
||||
}
|
||||
3
Task/SHA-1/Pike/sha-1.pike
Normal file
3
Task/SHA-1/Pike/sha-1.pike
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
string input = "Rosetta Code";
|
||||
string out = Crypto.SHA1.hash(input);
|
||||
write( String.string2hex(out) +"\n");
|
||||
Loading…
Add table
Add a link
Reference in a new issue