length

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: 0 Imported by: 0

Documentation

Overview

Package length defines the JSON encoded lengths of some uid datastructures (for padding purposes).

Index

Constants

View Source
const KeyEntryECDHE25519 = 247

KeyEntryECDHE25519 defines the length of a JSON encoded uid.KeyEntry with FUNCTION "ECDHE25519".

View Source
const MaxMixAddress = 254

MaxMixAddress defines the maximum length of a mix address. The restriction is the same as with email addresses.

View Source
const MaxNymAddress = 1568

MaxNymAddress defines the maximum length of a base64 encoded nym address. The maximum length of a unencoded nym address is 1176. 4*(1176/3) = 1568.

View Source
const MaxUIDMessage = 2004

MaxUIDMessage defines the maximum length of a JSON encoded UIDMessage.

View Source
const Nil = 4

Nil defines the length of a JSON encoded nil value.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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