Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecryptRequest ¶
type DecryptResponse ¶
type DecryptResponse struct {
Plaintext string
}
func Decrypt ¶
func Decrypt(req DecryptRequest) (DecryptResponse, error)
type EncryptRequest ¶
type EncryptResponse ¶
type EncryptResponse struct {
Ciphertext string // base64 인코딩
}
func Encrypt ¶
func Encrypt(req EncryptRequest) (EncryptResponse, error)
type GenerateOTPRequest ¶
type GenerateOTPResponse ¶
func GenerateOTP ¶
func GenerateOTP(req GenerateOTPRequest) (GenerateOTPResponse, error)
type VerifyOTPRequest ¶
type VerifyOTPResponse ¶
type VerifyOTPResponse struct{}
func VerifyOTP ¶
func VerifyOTP(req VerifyOTPRequest) (VerifyOTPResponse, error)
Click to show internal directories.
Click to hide internal directories.