Method Crypto.ECC.Curve()->ECDSA()->set_private_key()

class Crypto.ECC.Curve
class Crypto.ECC.Curve.ECDSA

Method set_private_key

this_program set_private_key(Gmp.mpz|int k)

Description

Set the private key.

Note

Throws errors if the key isn't valid for the curve.


Method set_private_key

variant this_program set_private_key(string(8bit) k)

Description

Set the private key.

Note

Throws errors if the key isn't valid for the curve.