Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/apps/aienos-site/om/agora/sha2h.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / apps / aienos-site / om / agora / sha2h.om` 8 lines ยท 442 bytes Raw Blame History 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