Skip to main content
Home

@std/crypto@1.0.5
Built and signed on GitHub Actions

Extensions to the Web Crypto API

This package works with Deno, BrowsersIt is unknown whether this package works with Bun
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (1.0.5)

Functions

f
timingSafeEqual

When checking the values of cryptographic hashes are equal, default comparisons can be susceptible to timing based attacks, where attacker is able to find out information about the host system by repeatedly checking response times to equality comparisons of values.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/crypto

Import symbol

import * as mod from "@std/crypto/timing-safe-equal";
or

Import directly with a jsr specifier

import * as mod from "jsr:@std/crypto/timing-safe-equal";

Add Package

bunx jsr add @std/crypto

Import symbol

import * as mod from "@std/crypto/timing-safe-equal";