public static SECPPrivateKey create(final BigInteger key, final String algorithm) {
    checkNotNull(key);
    return create(UInt256.valueOf(key), algorithm);
  }
Create secp private key.

@param key the key
@param algorithm the algorithm
@return the secp private key
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/SECPPrivateKey.java