An Interactive Demonstration
Step 1. Generate an ed25519 keypair
const kp = await an.gen()
Step 2. Hash your blob with sha256
const hash = await an.hash(content)
Step 3. Sign the ANProto message
const sig = await an.sign(hash, keypair)
Step 4. Open the ANProto message
const opened = await an.open(msg)
Step 5. Retrieve the blob