security

package
v1.127.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashArgon2id

func HashArgon2id(password, salt []byte) []byte

func HashArgon2idVerify

func HashArgon2idVerify(password, salt, expectedHash []byte) bool

func HashBcrypt

func HashBcrypt(data []byte) ([]byte, error)

func HashBcryptVerify

func HashBcryptVerify(hashedPassword, password []byte) error

func HashSHA512

func HashSHA512(data []byte) []byte

func IsDDL

func IsDDL(statement string) bool

func PartSQLStringCheckPossibleSQLInjection

func PartSQLStringCheckPossibleSQLInjection(s string) bool

func StringCheckPossibleSQLInjection

func StringCheckPossibleSQLInjection(s string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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