Documentation
¶
Index ¶
- func ChangeDatabasePassword(path string, password string, kdfIterationsNumber int, newPassword string, ...) error
- func DecryptDatabase(oldPath, newPath, password string, kdfIterationsNumber int) error
- func EncryptDatabase(oldPath, newPath, password string, kdfIterationsNumber int, onStart func(), ...) error
- func ExportDB(path string, password string, kdfIterationsNumber int, newDbPath string, ...) error
- func GetDBFilename(db *sql.DB) (string, error)
- type DatabaseInitializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeDatabasePassword ¶
func DecryptDatabase ¶
DecryptDatabase creates an unencrypted copy of the database and copies it over to the given directory
func EncryptDatabase ¶
func EncryptDatabase(oldPath, newPath, password string, kdfIterationsNumber int, onStart func(), onEnd func()) error
EncryptDatabase creates an encrypted copy of the database and copies it to the user path
Types ¶
Click to show internal directories.
Click to hide internal directories.