makesecret [hex] [string]
The makesecret RPC command derives a secret key from the HSM_secret.
One of hex or string must be specified: hex can be any hex data, string is a UTF-8 string interpreted literally.
On success, an object is returned, containing:
- secret (secret): the pseudorandom key derived from HSM_secret
The following error codes may occur:
- -1: Catchall nonspecific error.
Aditya <[email protected]> is mainly responsible.
Main web site: https://github.com/ElementsProject/lightning