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

fromSecret

static fun fromSecret(secret: Secret!): Input! (source)

Create a hash input from a Diffie-Helman secret

Parameters

secret - Secret!: a Diffie-Helman secret

Return
Input!: a hash input