Versions in this module Expand all Collapse all v0 v0.5.0 Jun 9, 2023 v0.4.3 Dec 30, 2022 Changes in this version + func Decrypt(key []byte, text string) (string, error) + func Encrypt(key []byte, text string) (string, error) + type DB = bun.DB + func InitDB() (*DB, error) + type Entry struct + ID int + Issuer string + Secret string + Username string + func GetEntries(db *DB, key []byte) ([]Entry, error) + type KeyHash struct + Hash []byte + Text string + func Hash(secret string) KeyHash