Skip to content
Snippets Groups Projects
Commit ba25ee8d authored by Alex Gaynor's avatar Alex Gaynor
Browse files

This data is always bytes; fixes #104

parent b2ec9409
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ Signer's perspective (:class:`~nacl.signing.SigningKey`)
signing_key = nacl.signing.SigningKey.generate()
# Sign a message with the signing key
signed = signing_key.sign("Attack at Dawn")
signed = signing_key.sign(b"Attack at Dawn")
# Obtain the verify key for a given signing key
verify_key = signing_key.verify_key
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment