hashchain

package
v0.0.0-...-30b4a77 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package hashchain implements the hash chain for the key server in Mute.

Index

Constants

View Source
const EntryBase64Len = 204

EntryBase64Len define the length of a hashchain entry in base64 form

View Source
const EntryByteLen = 153

EntryByteLen defines the length of a hashchain entry in byte form.

View Source
const TestEntry = "" /* 204-byte string literal not displayed */

TestEntry is a parseable hashchain entry for tests.

Variables

View Source
var Type = []byte{0x01}

Type denotes the current hash chain type.

Functions

func SplitEntry

func SplitEntry(entry string) (hash, typ, nonce, hashID, crUID, uidIndex []byte, err error)

SplitEntry splits a base64 encoded key hashchain entry. Specification: https://github.com/mutecomm/mute/blob/master/doc/keyserver.md#key-hashchain-operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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