Registry / crypto / ericlagergren-subtle

ericlagergren-subtle

JSON →
library0.0.0-20220507045147-890d697da010gogounverified

A Go package providing subtle cryptographic functions, derived from the Go standard library's crypto/subtle package.

go get github.com/ericlagergren/subtle
INSTALL
IMPORT
SIG · ERICLAGERGREN-SUBT
E
ericlagergren-subtle
cryptogov0.0.0-20220507045147-890d697da010
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.

subtle
github.com/ericlagergren/subtle

Uses ConstantTimeCompare to compare two byte slices in constant time.

package main import ( "github.com/ericlagergren/subtle" ) func main() { constantTimeCompare := subtle.ConstantTimeCompare([]byte("a"), []byte("b")) _ = constantTimeCompare }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220507045147-890d697da010latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Resources
ericlagergren-subtle — go get ericlagergren-subtle · libregistry