aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / agora / sha2h.om
| 1 | note sha2h.om: sha256_hash (the one sha256.om entry point client.om calls) over om/tls sha2.om, for |
| 2 | note programs that compose the TLS stack. sha256.om and tls/sha2.om both define sha256_init, _update |
| 3 | note and _final, so a TLS program composes tls/sha2.om ... tls/tls.om and this unit instead of sha256.om. |
| 4 | note Library unit: no om2 line, no main, no globals. |
| 5 | |
| 6 | fn sha256_hash d view uchar * o out uchar 32 to void |
| 7 | n = sha2_digest 256 d o |
| 8 | end |