Documentation ¶
Index ¶
- Constants
- Variables
- func Chaff(authKey *[32]byte, noncePrfx, in []byte) []byte
- func Decode(in []byte) ([]byte, error)
- func Encode(r *[RSize]byte, in []byte) ([]byte, error)
- func EncodeNECS(authKey *[32]byte, nonce, in []byte) ([]byte, error)
- func NECSDecode(authKey *[32]byte, nonce, in []byte) ([]byte, error)
- func Winnow(authKey *[32]byte, noncePrfx, in []byte) ([]byte, error)
Constants ¶
View Source
const ( HSize = 32 RSize = 16 )
View Source
const (
EnlargeFactor = 16 * poly1305.TagSize
)
View Source
const (
NECS_ENLARGE_SIZE = HSize + RSize*256
)
Variables ¶
View Source
var (
Rand io.Reader = rand.Reader
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.