Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DESFinalTDESMac ¶
DESFinalTDESMac calculates a MAC with Single DES and a final round TripleDES in CBC mode. The length of input data must be a multiple of 8.
func Pad80 ¶
Pad80 takes a []byte and a block size which must be a multiple of 8 and appends '80' and zero bytes until the length of the resulting []byte reaches a multiple of the block size and returns the padded []byte. If force is false, the padding will only be applied, if the []byte is not a multiple of the blocksize. If force is true, the padding will be applied anyways.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.