Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 675 Bytes

File metadata and controls

33 lines (21 loc) · 675 Bytes

API Whisperer

A game to practice creating Express APIs and using Postman.

Intructions

Getting the Keys

POST /get-keys

{
   "secret": STRING,
   "shares": INT,
   "threshold": INT 
}

Where secret is the string to encrypt, shares is the number of keys, and threshold is the number of keys needed to decrypt the secret

POST /claim-victory

{
  "keys": [ STRING ],
  "successURL": STRING
}

Where keys is an array of the keys to decryt, and successURL is an POST endpoint that the api-judge will send the decrypted secret to.