com.r3corda.core.crypto / entropyToKeyPair

entropyToKeyPair

fun entropyToKeyPair(entropy: BigInteger): KeyPair

Returns a keypair derived from the given private key entropy. This is useful for unit tests and other cases where you want hard-coded private keys.