chickadee » tweetnacl » symmetric-sign

k m #!key tag-only?procedure

Sign a message m using the shared key k. The plaintext m and the returned signature message combination are represented as strings. If tag-only? is given and not #f, the procedure returns only the message authentication tag as a string rather than a combination of authentication tag and message.