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

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-08-02 15:38:38 +00:00
parent 70bf58cc63
commit 765b3f4ec1
No known key found for this signature in database

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("");