package
0.0.0-20220116124430-3492e0ae15bf
Repository: https://github.com/hozalex/knox.git
Documentation: pkg.go.dev

# Functions

NewAESGCMCryptor creates a Cryptor that performs AES GCM AEAD encryption on key data.
NewPostgreSQLDB will create a SQLDB with the necessary statements for using postgres.
NewSQLDB creates a table and prepared statements suitable for mysql and sqlite databases.
NewTempDB creates a new TempDB with no data.

# Variables

No description provided by the author
No description provided by the author

# Structs

DBKey is a struct for the json serialization of keys in the database.
EncKeyVersion is a struct for encrypting key data.
SQLDB provides a generic way to use SQL providers as Knox DBs.
TempDB is an in memory DB that does no replication across servers and starts out fresh everytime.

# Interfaces

Cryptor is an interface for converting a knox Key to a DB Key.
DB is the underlying database connection that KeyDB uses for all of its operations.