v2

package
v0.0.0-...-ecb58e0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v2 provides core functions to build LessPass password.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword(site, login, masterPassword string, pp *PasswordProfile) string

GeneratePassword generates v2 password.

Types

type PasswordProfile

type PasswordProfile struct {
	Keylen     int
	Iterations int
	Counter    int
	Length     int
	Digest     string
	Rules      []string
}

PasswordProfile structure that contains password options.

func NewPasswordProfile

func NewPasswordProfile() *PasswordProfile

NewPasswordProfile returns the default password configuration.

Jump to

Keyboard shortcuts

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