Skip to content
Snippets Groups Projects
Commit c7af3192 authored by Donald Stufft's avatar Donald Stufft
Browse files

Merge pull request #16 from davidfischer/docstring-fixes

Cleanup some doc strings
parents 146efa74 b2179bab
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,8 @@ class BadSignatureError(CryptoError): ...@@ -16,7 +16,8 @@ class BadSignatureError(CryptoError):
class SignedMessage(six.binary_type): class SignedMessage(six.binary_type):
""" """
A bytes subclass that holds a messaged that has been signed by a :class:`SigningKey`. A bytes subclass that holds a messaged that has been signed by a
:class:`SigningKey`.
""" """
@classmethod @classmethod
...@@ -99,8 +100,8 @@ class SigningKey(encoding.Encodable, six.StringFixer, object): ...@@ -99,8 +100,8 @@ class SigningKey(encoding.Encodable, six.StringFixer, object):
Private key for producing digital signatures using the Ed25519 algorithm. Private key for producing digital signatures using the Ed25519 algorithm.
Signing keys are produced from a 32-byte (256-bit) random seed value. This Signing keys are produced from a 32-byte (256-bit) random seed value. This
value can be passed into the :class:`~nacl.signing.SigningKey` as a :func:`bytes` value can be passed into the :class:`~nacl.signing.SigningKey` as a
whose length is 32. :func:`bytes` whose length is 32.
.. warning:: This **must** be protected and remain secret. Anyone who knows .. warning:: This **must** be protected and remain secret. Anyone who knows
the value of your :class:`~nacl.signing.SigningKey` or it's seed can the value of your :class:`~nacl.signing.SigningKey` or it's seed can
......
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