Documentation ¶
Index ¶
- Constants
- Variables
- func CalcCallTime(unparsedCallOffset string) time.Time
- func Cipher(text, key []byte) ([]byte, error)
- func Decipher(data, key []byte) ([]byte, error)
- func DecipherHistory(database string, key []byte, output io.Writer, opts ...Option) (int, error)
- func DecodeB64Key(key []byte) ([]byte, error)
- func GetByteKey(keyStr string) ([]byte, error)
- type Option
Constants ¶
View Source
const ( // TagSz size of the tag TagSz = 0x10 // NonceSz size of the nonce NonceSz = 0x10 DefTimeFmt = "2006-01-02 15:04:05Z07:00" )
Variables ¶
View Source
var ErrNoKey = errors.New("key is not supplied")
Functions ¶
func CalcCallTime ¶
CalcCallTime calculates the call time.
func DecipherHistory ¶
DecipherHistory opens the database and writes CSV output to output returns number of rows processed or an error (if any)
func DecodeB64Key ¶
DecodeB64Key decodes the provided key from base64 encoding
func GetByteKey ¶ added in v1.1.0
Types ¶
type Option ¶ added in v1.1.1
type Option func(*outputSettings)
Option is the function signature that allows to modify the CSV output settings.
func OptTimeFormat ¶ added in v1.1.1
OptTimeFormat specifies the time/date output format. (See time package for time format specification).
Click to show internal directories.
Click to hide internal directories.