password

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

Password Generator

Generate and validate password

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordStrength

func CheckPasswordStrength(password string) int

calculates the strength of the password and returns a score from 0 to 100

func EncryptPassword

func EncryptPassword(password string) (string, error)

encrypt entered password

func GenerateStrongPassword

func GenerateStrongPassword() (string, error)

generates a strong password of the specified length

func ValidateEncryptedPassword

func ValidateEncryptedPassword(hashedPassword, enteredPassword string) bool

verifies the encrypted password

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳