Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Dec 6, 2023
1 parent b633488 commit 41f6a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/crypto/src/lib/crypto-hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class CryptoHash extends Hash {
hash.update(typedWordArray);
yield chunk;
}

// Map our encoding constant to Crypto library
const enc = encoding === 'base64' ? CryptoJS.enc.Base64 : CryptoJS.enc.Hex;
const digest = hash.finalize().toString(enc);
Expand Down

0 comments on commit 41f6a85

Please sign in to comment.