cypher-api is an API that cypher/decipher messages using one of five block cypher algorithms.
It's used mainly as part of the Cypher project, that is composed by cypher-api and cypher-front. You can check out cypher-front here.
This api is hosted using Heroku and you can check it out here.
This project was done as part of a course in university.
There are 2 main endpoints in the API: /cypher and /decipher.
To cypher and decipher messages, all you have to do is make a POST request to the api with a body in the following format:
{
text: string,
algorithm: "aes" | "des" | "3des" | "blowfish" | "idea"
}The API will then respond with a JSON in the following format:
{
data: {
text: string
}
}where text is the cyphered/deciphered string.
- Add key param for algorithms;