fix(web/sha256-browserjs): fix function name (#943)

* fix(web/sha256-browserjs): fix function name

Signed-off-by: Xe Iaso <me@xeiaso.net>

* docs: update changelog

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-08-02 12:05:48 -04:00 committed by GitHub
parent 70bf58cc63
commit d5f01dbdb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ const calculateSHA256 = (text) => {
return hash.digest();
};
function uint8ArrayToHexString(arr) {
function toHexString(arr) {
return Array.from(arr)
.map((c) => c.toString(16).padStart(2, "0"))
.join("");