totp

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	T0      = 0
	Version = "0.1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Totp

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

func New

func New(f func() hash.Hash, s []byte, d int, step int) *Totp

func (*Totp) Get

func (t *Totp) Get(time uint64) (uint32, error)

func (*Totp) GetNow

func (t *Totp) GetNow() (uint32, error)

Jump to

Keyboard shortcuts

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