graviton.bytes

package graviton.bytes

Members list

Type members

Classlikes

final class HashInput

A canonical, segmented cryptographic input.

A canonical, segmented cryptographic input.

Segment boundaries are an encoding implementation detail and do not affect the resulting digest. Consumers receive segments through foreachSegment so hashing never requires a concatenated payload or an imprecise Chunk[Chunk[Byte]] API.

Attributes

Companion
object
Source
Hashable.scala
Supertypes
class Object
trait Matchable
class Any
object HashInput

Attributes

Companion
class
Source
Hashable.scala
Supertypes
class Object
trait Matchable
class Any
Self type
HashInput.type

Attributes

Source
Hashable.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object HashSegment

Attributes

Source
Hashable.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Hashable[-A]

A canonical immutable byte representation for cryptographic hashing.

A canonical immutable byte representation for cryptographic hashing.

Instances must have identical framing and encoding semantics on the JVM, Scala.js, and Scala Native. A HashInput can expose several strict, immutable segments so a structured value never has to concatenate its full representation.

Attributes

Companion
object
Source
Hashable.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Hashable

Attributes

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

Types

opaque type HashInputLength

Exact byte length of a canonical cryptographic input.

Exact byte length of a canonical cryptographic input.

Attributes

Source
Hashable.scala
opaque type HashSegment

One immutable byte segment in a canonical cryptographic input.

One immutable byte segment in a canonical cryptographic input.

Attributes

Source
Hashable.scala