Skip to content

Commit

Permalink
fix: scure vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
dcposch committed Apr 16, 2024
1 parent 216bcb7 commit 7f409e7
Show file tree
Hide file tree
Showing 2 changed files with 1,793 additions and 1,793 deletions.
2 changes: 1 addition & 1 deletion test-vectors/generate_scure_base64url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function main() {
const lines = vectors.map((v) => {
const data = Uint8Array.from(Buffer.from(v.data, "hex"));
return JSON.stringify({
data: v.data,
data: `0x${v.data}`,
base64url: base64urlnopad.encode(data),
});
});
Expand Down
Loading

0 comments on commit 7f409e7

Please sign in to comment.