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:
parent
70bf58cc63
commit
d5f01dbdb9
2 changed files with 2 additions and 1 deletions
|
|
@ -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("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue