package
0.2.0-beta-5
Repository: https://github.com/kontesthq/go-security.git
Documentation: pkg.go.dev

# Functions

NewBCryptPasswordEncoder creates a New instance of BCryptPasswordEncoder with the specified strength.
NewBCryptPasswordEncoderWithStrength creates a New instance of BCryptPasswordEncoder with specified strength.
NewBCryptPasswordEncoderWithStrengthAndRandom creates a New instance with the specified strength and a secure random instance.
NewBCryptPasswordEncoderWithVersion creates a New instance of BCryptPasswordEncoder with specified version.
NewBCryptPasswordEncoderWithVersionAndRandom creates a New instance with the specified version and a secure random instance.
NewBCryptPasswordEncoderWithVersionAndStrength creates a New instance with the specified version and strength.

# Variables

Supported bcrypt versions.
Supported bcrypt versions.
Supported bcrypt versions.

# Structs

BCryptPasswordEncoder is an implementation of PasswordEncoder that uses bcrypt for hashing passwords.
BCryptVersion represents the supported versions of bcrypt.