Include the ability to sign data using ed25519
* nacl.signing.SigningKey represents a single signing key and gets intitalized with a seed value. * nacl.signing.SigningKey.generate() creates a random seed and instiates a SigningKey with it. * nacl.signing.SigningKey().sign() returns a bytes subclass that contains the signature and message concated together. However it also contains a .signature and .messge property to get the components seperately.
Showing
- nacl/__init__.py 1 addition, 0 deletionsnacl/__init__.py
- nacl/nacl.py 15 additions, 1 deletionnacl/nacl.py
- nacl/signing.py 51 additions, 0 deletionsnacl/signing.py
- nacl/six.py 392 additions, 0 deletionsnacl/six.py
- tests/data/ed25519 1024 additions, 0 deletionstests/data/ed25519
- tests/test_signing.py 52 additions, 0 deletionstests/test_signing.py
Loading
Please register or sign in to comment