@staticmethod
def from_random():
    ' Initializes a private key from a random integer.\n\n        Returns:\n            PrivateKey: The object representing the private key.\n        '
    return PrivateKey(random.SystemRandom().randrange(1, bitcoin_curve.n))
Initializes a private key from a random integer.

Returns:
    PrivateKey: The object representing the private key.
@staticmethod
def from_random():
    ' Initializes a private key from a random integer.\n\n        Returns:\n            PrivateKey: The object representing the private key.\n        '
    return PrivateKey(random.SystemRandom().randrange(1, bitcoin_curve.n))