tuweni / org.apache.tuweni.crypto.mikuli / SecretKey

SecretKey

class SecretKey (source)

This class represents a BLS12-381 private key.

Functions

equals

fun equals(other: Any?): Boolean

fromBytes

Create a private key from a byte array

static fun fromBytes(bytes: ByteArray!): SecretKey!

Create a private key from bytes

static fun fromBytes(bytes: Bytes!): SecretKey!

hashCode

fun hashCode(): Int

toBytes

fun toBytes(): Bytes!