We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba0c4a commit c607cddCopy full SHA for c607cdd
packages/jsonwebkey-thumbprint/README.md
@@ -38,7 +38,7 @@ const decode = (u: ArrayBuffer) =>
38
b64ToB64URL(b64ToB64NoPadding(u8ToB64(new Uint8Array(u))));
39
40
// Compute the JWK Thumbprint for the public key
41
-console.log(await jwkThumbprint(jwk));
+console.log(await jwkThumbprint(jwk, hash, decode));
42
43
// Helper functions
44
const u8ToB64 = (u: Uint8Array) => btoa(String.fromCharCode(...u));
0 commit comments