crypto: avoid copying buffers to UTF-8 strings in `crypto.hash()` · nodejs/node@135fca5 · GitHub
Skip to content

Commit 135fca5

Browse files
Renegade334aduh95
authored andcommitted
crypto: avoid copying buffers to UTF-8 strings in crypto.hash()
PR-URL: #59067 Fixes: #59057 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 324d9fc commit 135fca5

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

src/crypto/crypto_hash.cc

Lines changed: 11 additions & 14 deletions

0 commit comments

Comments
 (0)