rex5207 / OCBEncryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run the web & api

You shoule run the following file in web folder.

python restAPI.py

Open the website

localhost:5000

Supporting API

  1. Encrypt
http://localhost:5000/api/ocb/encrypt
POST
{	
	"plaintext": "your plaintext",
	"header": "your header"
}
  1. Decrypt
http://localhost:5000/api/ocb/decrypt
POST
{	
	"ciphertext": "your ciphertext",
	"header": "your header",
	"tag": "your tag"
}

About


Languages

Language:JavaScript 59.4%Language:CSS 29.7%Language:Python 9.1%Language:HTML 1.8%