KeyId20

org.sigilaris.core.application.feature.accounts.domain.AccountsTypes$package.KeyId20

Companion for KeyId20, providing construction, codec instances, and equality.

Attributes

Source
AccountsTypes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
KeyId20.type

Members list

Value members

Concrete methods

def fromPublicKey(publicKey: PublicKey): KeyId20

Deterministically derives the key identifier for a public key.

Deterministically derives the key identifier for a public key.

Attributes

Source
AccountsTypes.scala
def unsafeApply(bytes: ByteVector): KeyId20

Unsafe version that assumes bytes is exactly 20 bytes (for internal use).

Unsafe version that assumes bytes is exactly 20 bytes (for internal use).

Attributes

Source
AccountsTypes.scala

Inherited methods

def apply(bytes: ByteVector): Either[String, KeyId20]
def unsafe(bytes: ByteVector): KeyId20

Extensions

Inherited extensions

extension (value: KeyId20)
def bytes: ByteVector