Intended to provide examples on how to encrypt and verify payloads
- Node 10
- cd into the js folder -
cd js - install dependencies -
npm install - run -
npm run start - the tool will be hosted in
localhost:3000
Provides a code sample on generating a ED25519 key pair.
Provides a code sample on how to create a new member in Sandbox environment. Alias value must be unique.
Production is similar just change the env variable.
Provides a code sample on how to sign a payload as well as normalize the payload in a format that is expected by our server.
Provides a code sample on how to use Token's public key to verify the signature.