Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyLEToNibbles ¶
KeyLEToNibbles converts a Little Endian byte slice into nibbles. It assumes bytes are already in Little Endian and does not rearrange nibbles.
func NibblesToKeyLE ¶
NibblesToKeyLE converts a slice of nibbles with length k into a Little Endian byte slice. It assumes nibbles are already in Little Endian and does not rearrange nibbles. If the length of the input is odd, the result is [ 0000 in[0] | in[1] in[2] | ... | in[k-2] in[k-1] ] Otherwise, the result is [ in[0] in[1] | ... | in[k-2] in[k-1] ]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.