Files
node/lib/internal
Tobias Nießen 9bbbe60f6b crypto: remove CipherBase::Init
As far as I can tell, the `iv` parameter can never be `undefined` (but
it can be `null`!), so this code appears to have been dead since
Node.js 22.

This change removes dead code and adds a tiny test case for passing
`undefined` as the IV.

Refs: https://github.com/nodejs/node/pull/50973
PR-URL: https://github.com/nodejs/node/pull/57787
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
2025-04-09 22:13:44 +00:00
..
2025-03-21 21:36:41 +01:00
2025-04-09 22:13:44 +00:00
2025-04-08 00:15:02 +02:00
2025-04-03 10:36:56 +00:00
…
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
…
2025-02-28 16:25:49 +00:00
…
2024-12-04 09:29:30 -08:00
2025-02-01 02:13:57 +00:00
2024-08-27 14:58:36 +00:00

Internal Modules

The modules located in lib/internal directory are exclusively meant for internal usage within the Node.js core. They are not intended to be accessed via user modules require(). These modules may change at any point in time. Relying on these internal modules outside the core is not supported and can lead to unpredictable behavior.

In certain scenarios, accessing these internal modules for debugging or experimental purposes might be necessary. Node.js provides the --expose-internals flag to expose these modules to userland code. This flag only exists to assist Node.js maintainers with debugging internals. It is not meant for use outside the project.