Files
node/lib
Joyee Cheung 4c46439fe9 crypto: implement crypto.hash()
This patch introduces a helper crypto.hash() that computes
a digest from the input at one shot. This can be 1.2-1.6x faster
than the object-based createHash() for smaller inputs (<= 5MB)
that are readily available (not streamed) and incur less memory
overhead since no intermediate objects will be created.

PR-URL: https://github.com/nodejs/node/pull/51044
Refs: https://github.com/nodejs/performance/issues/136
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
2024-02-27 13:27:19 +01:00
..
2024-02-27 13:27:19 +01:00
2023-07-11 19:50:13 +03:00
2023-06-24 15:52:38 +00:00
2023-11-11 16:25:08 +00:00
2024-02-27 13:27:19 +01:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-10-29 16:29:59 +00:00
2024-01-12 16:09:48 +00:00
2023-06-12 00:00:46 +00:00
2023-12-21 10:43:15 +00:00
2023-11-11 16:25:08 +00:00
2023-07-11 19:50:13 +03:00
2024-01-31 06:44:33 +00:00
2024-02-02 15:25:34 +01:00
2023-12-23 10:23:43 +00:00
2023-11-11 16:25:08 +00:00