diff options
Diffstat (limited to 'ext/node/polyfills/internal_binding/crypto.ts')
-rw-r--r-- | ext/node/polyfills/internal_binding/crypto.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal_binding/crypto.ts b/ext/node/polyfills/internal_binding/crypto.ts new file mode 100644 index 000000000..ce4739b3d --- /dev/null +++ b/ext/node/polyfills/internal_binding/crypto.ts @@ -0,0 +1,14 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license. + +import { notImplemented } from "internal:deno_node/polyfills/_utils.ts"; + +export { timingSafeEqual } from "internal:deno_node/polyfills/internal_binding/_timingSafeEqual.ts"; + +export function getFipsCrypto(): boolean { + notImplemented("crypto.getFipsCrypto"); +} + +export function setFipsCrypto(_fips: boolean) { + notImplemented("crypto.setFipsCrypto"); +} |