Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordConfirm ¶
CheckPasswordConfirm checks two byte array if the content is the same.
func GenerateOTPCode ¶
GenerateOTPCode generates a 6 digit TOTP from the secret Token.
func UnsecureSHA1 ¶
UnsecureSHA1 is not secure, but makes a fixed length password. With v2, I'm planning to move away from it, but that would break all existing vaults, so I have to be careful and make sure a proper migration script/function exists.
Types ¶
Click to show internal directories.
Click to hide internal directories.