agentpassword

package
v2.922.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Feature = "http-password-hmac-sha256"

	// MaxPasswordLength is the maximum plaintext password length in bytes.
	MaxPasswordLength = 1024
)

Variables

This section is empty.

Functions

func HashURL

func HashURL(raw string) (string, error)

func IsHashedPassword

func IsHashedPassword(password string) bool

IsHashedPassword identifies the reserved prefix; ParseHashedPassword validates its contents.

Types

type HashedPassword

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

func ParseHashedPassword

func ParseHashedPassword(s string) (*HashedPassword, error)

func (*HashedPassword) Matches

func (v *HashedPassword) Matches(password string) bool

Jump to

Keyboard shortcuts

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