Documentation ¶
Overview ¶
Package otphyp is a loose implementation of hotp standard RFC4226 it is not a full hotp implementation and only contains specific features required for hyp
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePorts ¶
A loose implementation of hotp meant for our specific purposes of generating four random port numbers Accepts a base32 encoded shared secret and a time
func GenerateSecret ¶
GenerateSecret creates a new 20 byte base32 encoded secret for use with GeneratePorts The recommended flow is: 1. Generate the secret 2. Save the secret to a file 3. Distribute the secret to a client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.