sign-asymmetric outputs both the signature and the message content. the tweetnacl just outputs the signature (typically named `detached`). if you substring out just the signature, it works: (define ((asymmetric-sign-detached sk) m) (substring ((asymmetric-sign sk) m) 0 asymmetric-sign-secretkeybytes))