merkletree

package module
v0.0.0-...-ab6588b Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2015 License: CC0-1.0 Imports: 2 Imported by: 0

README

Merkle Tree Tools (Go)

About

This repository provides Go implementations for the algorithms

  • Merkle Tree Hash
  • Merkle Tree Audit Path
  • Merkle Tree Consistency Proof

as presented in RFC6962.

Installation

go get github.com/daeinar/merkle-tree-tools

Usage

go test

...

License

Written in 2015 by Philipp Jovanovic.

The source code of this repository is released under the CC0 license. The full license text is included in the file LICENSE.

Documentation

Overview

merkletree.go ------

:author: Philipp Jovanovic <philipp@jovanovic.io>, 2015 :license: CC0, see the file LICENSE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MT

type MT struct {
	H hash.Hash
}

func (*MT) MTAP

func (self *MT) MTAP(m int, x [][]byte) [][]byte

Merkle Tree Audit Path

func (*MT) MTCP

func (self *MT) MTCP(m int, x [][]byte) [][]byte

Merkle Tree Consistency Proof

func (*MT) MTH

func (self *MT) MTH(x [][]byte) []byte

Merkle Tree Hash

Jump to

Keyboard shortcuts

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