Method Nettle.Curve25519()->EdDSA()->set_private_key()

class Nettle.Curve25519
class Nettle.Curve25519.EdDSA

Method set_private_key

void set_private_key(string(8bit) k)

Description

Set the private key (and corresponding public key).

Note

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