Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbFn ¶
type DbFn func(g *libkb.GlobalContext) *libkb.JSONLocalDb
type EncryptedDB ¶
type EncryptedDB struct { libkb.Contextified // contains filtered or unexported fields }
Handle to a db that encrypts values using nacl secretbox. Does not encrypt keys. Not threadsafe.
func New ¶
func New(g *libkb.GlobalContext, getDB DbFn, getSecretBoxKey KeyFn) *EncryptedDB
type EncryptedFile ¶
type EncryptedFile struct { libkb.Contextified // contains filtered or unexported fields }
func NewFile ¶
func NewFile(g *libkb.GlobalContext, path string, getSecretBoxKey KeyFn) *EncryptedFile
Click to show internal directories.
Click to hide internal directories.