From df6fa5f322fc972b3894e720f2c406eb2d8f5f5a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 19 Apr 2021 18:21:06 +0300 Subject: Moving site to separate repo --- site/public/register-docs/index.html | 198 ----------------------------------- 1 file changed, 198 deletions(-) delete mode 100644 site/public/register-docs/index.html (limited to 'site/public/register-docs/index.html') diff --git a/site/public/register-docs/index.html b/site/public/register-docs/index.html deleted file mode 100644 index 53d86dd..0000000 --- a/site/public/register-docs/index.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - Register | Gradecoin - - - - - - - - - - - - - - - -
- - - - - - - - -
- - -
- - - - - -
-
- - - - - - - - - - -
-
- - - -
- -
Register Documentation
-

POST request to /register endpoint

-

Lets a user to authenticate themselves to the system. -Only people who are enrolled to the class can open Gradecoin accounts. -This is enforced with your Student ID (e123456) and a one time password you will receive.

-

Authentication Process

-
-

The bytes you are sending over the network are all Base64 Encoded

-
- -
-{
-    "student_id": "e123456",
-    "passwd": "15 char secret",
-    "public_key": "---BEGIN PUBLIC KEY..."
-}
-

Cipher Initialization

-
-

Since we are working with AES-128, both key and IV should be 128 bits (or 16 hexadecimal characters)

-
- -

Encryption

- -
-

- The available tools and libraries might warn you about how using the primitives given above are "hazardous". They are, crypto is hard. -

-
- -
-{
-    "c": "C_AR",
-    "iv": "iv",
-    "key": "key_ciphertext"
-}
-
-

If your authentication process was valid, you will be given access and your public key fingerprint that is your address. -You can now sign JWTs to send authorized transaction requests.

- - -
- - - -
- - - - - - - - -- cgit v1.2.3-70-g09d2