fun entropyToKeyPair(entropy: BigInteger): KeyPair
Returns a key pair derived from the given private key entropy. This is useful for unit tests and other cases where you want hard-coded private keys.
entropy
- a BigInteger value.
Return
a deterministically generated KeyPair for the Crypto.DEFAULT_SIGNATURE_SCHEME.