Registry / crypto / xdg-go-pbkdf2

xdg-go-pbkdf2

JSON →
library1.0.0gogounverified

Package pbkdf2 implements password-based key derivation using PBKDF2 (RFC 2898).

go get github.com/xdg-go/pbkdf2
INSTALL
IMPORT
SIG · XDG-GO-PBKDF2
X
xdg-go-pbkdf2
cryptogov1.0.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.

pbkdf2
github.com/xdg-go/pbkdf2

Derive a key using PBKDF2 with SHA256.

package main import ( "fmt" "github.com/xdg-go/pbkdf2" ) func main() { key := pbkdf2.Key([]byte("password"), []byte("salt"), 4096, 32, pbkdf2.SHA256) fmt.Printf("%x\n", key) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
38
Resources
xdg-go-pbkdf2 — go get xdg-go-pbkdf2 · libregistry