Documentation ¶
Overview ¶
Package wrapper is a simple container package for c2 Wrapper types.
Index ¶
Constants ¶
View Source
const ( // Zlib is the default Zlib Wrapper. This wrapper uses the default compression level. Use the 'NewZlib' // function to create a wrapper with a different level. Zlib = compress(0x0) // Gzip is the default Gzip Wrapper. This wrapper uses the default compression level. Use the 'NewGzip' // function to create a wrapper with a different level. Gzip = compress(0x1) )
View Source
const ( // Hex is the Hex encoding Wrapper. This wraps the binary data as hex values. Hex = simple(0x1) // Base64 is the Base64 Wrapper. This wraps the binary data as a Base64 byte string. This may be // combined with the Base64 transfrom. Base64 = simple(0x2) )
Variables ¶
This section is empty.
Functions ¶
func NewCBK ¶ added in v0.1.0
NewCBK creates a special type of Wrapper for CBK-based encryptors.
NOTE: This function will prevent CBK from using it's index based block functions, not sure if there's a way to work around this.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.