Ticket #1936: test_sha.pir

File test_sha.pir, 171 bytes (added by DavidCzech, 4 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