RSASHAAESKEYMOD0101LOCKDH
Backend API

API Documentation

This page documents how the Next.js frontend communicates with the FastAPI backend through the unified POST /crypto endpoint.

Backend Base URL

https://cipherxploress-api.onrender.com/

Main Endpoint

POST /crypto

General Request Format

{
  "algorithm": "caesar",
  "mode": "encrypt",
  "text": "HELLO",
  "key": {
    "shift": 3
  }
}

Supported Algorithms

caesar
playfair
hill
vigenere
rail_fence
rsa
diffie_hellman