tuweni / org.apache.tuweni.crypto.sodium / SHA256Hash / Input / fromBytes

fromBytes

static fun fromBytes(bytes: Bytes!): Input! (source)

Create a SHA256Hash.Input from an array of bytes.

Parameters

bytes - Bytes!: The bytes for the input.

Return
Input!: An input.

static fun fromBytes(bytes: ByteArray!): Input! (source)

Create a SHA256Hash.Input from an array of bytes.

Parameters

bytes - ByteArray!: The bytes for the input.

Return
Input!: An input.