crypto: add addCipherPrototypeFunctions function · nodejs/node@503844e · GitHub
Skip to content

Commit 503844e

Browse files
danbevaddaleax
authored andcommitted
crypto: add addCipherPrototypeFunctions function
This commit adds a function named addCipherPrototypeFunctions to avoid code duplication. Backport-PR-URL: #20706 PR-URL: #20164 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 72029b8 commit 503844e

1 file changed

Lines changed: 14 additions & 29 deletions

File tree

lib/internal/crypto/cipher.js

Lines changed: 14 additions & 29 deletions

0 commit comments

Comments
 (0)