summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal_binding/crypto.ts
blob: 3aabbbf3445e3413adbf90f06544fca1ad84f898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license.

import { notImplemented } from "ext:deno_node/_utils.ts";

export { timingSafeEqual } from "ext:deno_node/internal_binding/_timingSafeEqual.ts";

export function getFipsCrypto(): boolean {
  notImplemented("crypto.getFipsCrypto");
}

export function setFipsCrypto(_fips: boolean) {
  notImplemented("crypto.setFipsCrypto");
}