Search:
Login
Preferences
Help/Guide
About Trac
Register
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #1936
Ticket #1936
: test_sha.pir
File test_sha.pir,
171 bytes
(added by DavidCzech,
11 years
ago)
SHA256 example program
Line
1
# Copyright (C) 2010, Parrot Foundation.
2
3
.sub main :main
4
.param pmc argv
5
load_bytecode "Digest/sha256.pbc"
6
$P0 = sha256sum("blah")
7
sha256_print($P0)
8
.end
Download in other formats:
Original Format