Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/jsonwebkey-thumbprint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const decode = (u: ArrayBuffer) =>
b64ToB64URL(b64ToB64NoPadding(u8ToB64(new Uint8Array(u))));

// Compute the JWK Thumbprint for the public key
console.log(await jwkThumbprint(jwk));
console.log(await jwkThumbprint(jwk, hash, decode));

// Helper functions
const u8ToB64 = (u: Uint8Array) => btoa(String.fromCharCode(...u));
Expand Down