Versions in this module Expand all Collapse all v1 v1.0.0 Jun 9, 2023 Changes in this version + type AuthEngine struct + func NewAuthEngine(DB db.DB, ScreatKeySize uint) *AuthEngine + func (ae *AuthEngine) GetCode(username string) (code []byte, encryptedCode []byte, err error) + func (ae *AuthEngine) RegisterUser(username string, publicKey *rsa.PublicKey) error