SIGN IN SIGN UP

Remove usage of webcrypto from `node:crypto` in Node 18

The original code was intended to shim in support for the webcrypto
interface in Node 18, which was included indirectly as `webcrypto`
in the "node:crypto" module or globally via the
`--no-experimental-global-webcrypto` flag.

This change has caused many issues with bundlers and static analyzers
which do not like the obfuscated call to `require()`.

Node 18 will no longer receive security support as of 30 April 2025[1]
and as such it feels like we can now drop this workaround in favor of
documenting alternative approaches.

[1]: https://endoflife.date/nodejs
A
Aron Carroll committed
01c4e09b1ac3408beb99589b464d2b81077e4e4b
Parent: 720f786
Committed by Aron Carroll <aron@aroncarroll.com> on 3/26/2025, 5:18:49 PM