- Feb 24, 2013
-
-
Donald Stufft authored
* Accepts the binary representation of a public key * nacl.signing.VerifyKey().verify accepts either a single signed message with the signature and message conatted or seperate message and signature and will raise an exception if it detects tampering, forgery, or corruption.
-
Donald Stufft authored
* 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.
-