scuttlebutt / org.apache.tuweni.scuttlebutt / Identity / sign

sign

abstract fun sign(message: Bytes): Bytes (source)

Hashes data using the secret key of the identity.

Parameters

message - the message to sign

Exceptions

UnsupportedOperationException - if the identity doesn't contain a secret key

Return
the signature