core

package
v0.0.0-...-bb1c8e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeOtp

func ComputeOtp(pin Pin, secret Secret) string

Types

type Pin

type Pin struct {
	// contains filtered or unexported fields
}

func (*Pin) CreatePin

func (pin *Pin) CreatePin(pinString string) bool

func (*Pin) GetBytes

func (pin *Pin) GetBytes() []byte

type Secret

type Secret struct {
	// contains filtered or unexported fields
}

func (*Secret) CreateSecret

func (secret *Secret) CreateSecret(secretString string) bool

func (*Secret) GetBytes

func (secret *Secret) GetBytes() []byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL