From 75c51fff0ebf4faaadf33e31e62dd5d7814ef020 Mon Sep 17 00:00:00 2001 From: Donald Stufft <donald@stufft.io> Date: Sun, 17 Mar 2013 17:02:26 -0400 Subject: [PATCH] Correct the name of the algorithm --- nacl/public.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nacl/public.py b/nacl/public.py index 38e0cf22..c62b6edd 100644 --- a/nacl/public.py +++ b/nacl/public.py @@ -9,10 +9,10 @@ from .exceptions import CryptoError class PublicKey(encoding.Encodable, six.StringFixer, object): """ - The public key counterpart to an Ed25519 :class:`nacl.public.PrivateKey` + The public key counterpart to an Curve25519 :class:`nacl.public.PrivateKey` for encrypting messages. - :param public_key: [:class:`bytes`] Encoded Ed25519 public key + :param public_key: [:class:`bytes`] Encoded Curve25519 public key :param encoder: A class that is able to decode the `public_key` """ @@ -31,7 +31,7 @@ class PublicKey(encoding.Encodable, six.StringFixer, object): class PrivateKey(encoding.Encodable, six.StringFixer, object): """ - Private key for decrypting messages using the Ed25519 algorithm. + Private key for decrypting messages using the Curve25519 algorithm. .. warning:: This **must** be protected and remain secret. Anyone who knows the value of your :class:`~nacl.public.PrivateKey` can decrypt -- GitLab