Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { Value []byte `json:"value" bson:"value"` Created time.Time `json:"created" bson:"created"` }
func (*Key) ValueBase64 ¶
type SecuredKey ¶
type SecuredKey struct { Name string `json:"name" bson:"name"` Value []byte `json:"value" bson:"value"` Hash []byte `json:"hash" bson:"hash"` Created time.Time `json:"created" bson:"created"` }
func NewSecureKey ¶
func NewSecureKey(length int, mk MasterKey) (*SecuredKey, error)
Click to show internal directories.
Click to hide internal directories.