Files
marqdo/tests/lib/hash-smoke.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

324 B

title, import
title import
lib/hash smoke
hash
lib/hash.mq.md

main

s = > hash.sha256 text=""

print text=s

a = > hash.sha256 text="abc"

print text=a

m = > hash.md5 text="hello"

print text=m

h = > hash.hmac_sha256 key="key" text="The quick brown fox jumps over the lazy dog"

print text=h