tuweni / org.apache.tuweni.crypto / SECP256K1 / SecretKey / fromBytes

fromBytes

open static fun fromBytes(bytes: Bytes32!): SecretKey! (source)

Create the private key from bytes.

Parameters

bytes - Bytes32!: The key bytes.

Return
SecretKey!: The private key.