mirror of
https://github.com/denoland/deno.git
synced 2025-09-21 09:59:48 +00:00
15 lines
477 B
TypeScript
15 lines
477 B
TypeScript
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
// Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license.
|
|
|
|
export { timingSafeEqual } from "ext:deno_node/internal_binding/_timingSafeEqual.ts";
|
|
import { primordials } from "ext:core/mod.js";
|
|
|
|
const { Error } = primordials;
|
|
|
|
export function getFipsCrypto(): boolean {
|
|
return false;
|
|
}
|
|
|
|
export function setFipsCrypto(_fips: boolean) {
|
|
throw new Error("FIPS mode is not supported in Deno.");
|
|
}
|