Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentEncoding ¶
type ContentEncoding int
ContentEncoding is crypto data encoding
const ( AES128GCM ContentEncoding AESGCM )
func (ContentEncoding) Padding ¶
func (i ContentEncoding) Padding() int
Padding returns crypto data padding size.
func (ContentEncoding) String ¶
func (i ContentEncoding) String() string
type Option ¶
type Option func(*options)
func WithAuthSecret ¶
func WithEncoding ¶
func WithEncoding(v ContentEncoding) Option
func WithKeyLabel ¶
func WithKeyMap ¶
func WithPrivate ¶
func WithRecordSize ¶
Click to show internal directories.
Click to hide internal directories.