Sign

org.sigilaris.core.crypto.Sign
See theSign companion trait
object Sign

Attributes

Companion
trait
Source
Sign.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sign.type

Members list

Type members

Classlikes

object ops

Extension methods for signing.

Extension methods for signing.

Attributes

Source
Sign.scala
Supertypes
class Object
trait Matchable
class Any
Self type
ops.type

Value members

Concrete methods

def apply[A : Sign]: Sign[A]

Summons an implicit Sign instance for type A.

Summons an implicit Sign instance for type A.

Type parameters

A

type with an available Sign instance

Attributes

Returns

the Sign instance for A

Source
Sign.scala
def build[A]: Sign[A]

Builds a Sign instance for any type.

Builds a Sign instance for any type.

Type parameters

A

type to sign

Attributes

Returns

Sign instance using CryptoOps.sign

Source
Sign.scala

Givens

Givens

given given_Sign_A[A](using h: Hash[A]): Sign[A]

Default Sign instance for any type with a Hash instance.

Default Sign instance for any type with a Hash instance.

Type parameters

A

type to sign

Value parameters

h

implicit Hash instance (unused in implementation but required for scoping)

Attributes

Returns

Sign instance for type A

Source
Sign.scala