Versions in this module Expand all Collapse all v0 v0.0.1 Jan 7, 2023 Changes in this version + func AddAccount(name, username, email, secret string) error + func ConfirmPrompt(message string) bool + func CopyToClipboard(text string) + func CopyToClipboardWithBinding(text binding.String) + func Decrypt(key, data []byte) ([]byte, error) + func Encrypt(key, data []byte) ([]byte, error) + func GenTips() string + func GenerateID() string + func GetConfig() string + func GetHOTPToken(secret string, interval int64) string + func GetTOTPToken(secret string) string + func IsBase32(str string) bool + func PanicIf(err error) + func ReadAccounts(configFile string) ([]models.Account, error) + func RemoveAccount(id string) + func SaveAccounts(accounts []models.Account, configFile string) error + func VerifyKey(key, data []byte) bool