View Source Lightning.Utils.Crypto (Lightning v2.10.4)
Utility functions for cryptographic operations.
Summary
Functions
Generates a new HS256 key.
Generates a new RSA key pair with 2048 bits and a public exponent of 65537.
Functions
Generates a new HS256 key.
Generates a new RSA key pair with 2048 bits and a public exponent of 65537.
This is preferable to using create_private_key
and abstract_public_key
as
it generates a key pair in one step, and also doesn't require shelling out to
openssl
.