package rfc6962

import "github.com/google/trillian/merkle/rfc6962"

Package rfc6962 provides hashing functionality according to RFC6962.

Index

Constants

const (
	RFC6962LeafHashPrefix = hasher.RFC6962LeafHashPrefix
	RFC6962NodeHashPrefix = hasher.RFC6962NodeHashPrefix
)

Domain separation prefixes

Deprecated: moved to hasher subpackage.

Variables

var DefaultHasher = hasher.DefaultHasher

DefaultHasher is a SHA256 based LogHasher.

Deprecated: moved to hasher subpackage.

Types

type Hasher

type Hasher = hasher.Hasher

Hasher implements the RFC6962 tree hashing algorithm.

Deprecated: moved to hasher subpackage.

func New

func New(h crypto.Hash) *Hasher

New creates a new Hashers.LogHasher on the passed in hash function.

Deprecated: moved to hasher subpackage.

Source Files

rfc6962.go

Directories

PathSynopsis
merkle/rfc6962/hasherPackage hasher provides hashing functionality according to RFC6962.
Version
v1.3.13
Published
Feb 16, 2021
Platform
js/wasm
Imports
4 packages
Last checked
2 hours ago

Tools for package owners.