Skip to content

Commit

Permalink
Parse Challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxRefire committed Aug 5, 2024
1 parent 2807074 commit ca93333
Show file tree
Hide file tree
Showing 4 changed files with 781 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<head>
<script type="module">
import getChallenge from './getChallenge.js'
import parseChallenge from './parseChallenge.js'
window.onload = async () => {
let b64encode = b => btoa(String.fromCharCode(...new Uint8Array(b)))
let challenge = await getChallenge()
console.log(b64encode(challenge))
parseChallenge(challenge)
}
</script>
</head>
Expand Down
Loading

0 comments on commit ca93333

Please sign in to comment.