Registry / crypto / x-crypto

x-crypto

JSON →
library0.53.0gogounverified

Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.

go get golang.org/x/crypto
INSTALL
IMPORT
SIG · X-CRYPTO
X
x-crypto
cryptogov0.53.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bcrypt
golang.org/x/crypto/bcrypt

Hash and verify a password

package main import "golang.org/x/crypto/bcrypt" func main() { hash, _ := bcrypt.GenerateFromPassword([]byte("password"), bcrypt.DefaultCost) bcrypt.CompareHashAndPassword(hash, []byte("password")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.53.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
x-crypto — go get x-crypto · libregistry