digest

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DigestLength = 16

Variables

This section is empty.

Functions

func ExtensionToPB

func ExtensionToPB(d *Extension) *cppb.DigestExtension

Types

type Digest

type Digest struct {
	Digest []byte
}

func (*Digest) Set

func (d *Digest) Set(input []byte)

func (*Digest) Validate

func (d *Digest) Validate(input []byte) error

type Extension

type Extension struct {
	// Epic dentoes the digest of the EpicDetachedExtension
	Epic Digest
}

func ExtensionFromPB

func ExtensionFromPB(d *cppb.DigestExtension) *Extension

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL