package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 8, 2017
License: CC0-1.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
IntToBinary encodes i into a byte slice as uint32.
It panics if i is not a valid uint32.
Length calculates length of padding for given nonce and key
in range [0:maxlen). maxlen must be a power of two and maxlen < 2^32-1.
Pad prepends padlen zero bytes to pt.
Uppad removes first padlen bytes of paddedpt.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.