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 ¶
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.
Click to show internal directories.
Click to hide internal directories.