Skip to content

alejandrade/Cryptorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptorator

A quick Java Jersey API that encrypts string

Instructions

This will run on 8080 Currently it is designed to work on any computer with minimal librarys and no JCE set to encrypt at AES CBC 128 with PLCS5Padding however you should be able to change it to what you need in the Crypto.properties file. I have NOT extensiely tested this application.

###Endpoints

Method Path Request Response
GET /cr/{content} path-param {"content":"{encrypted text}","id":"{salt}"}
GET /ecr/{content}/{salt} {"content":"{encrypted text}","id":"{salt}"} {"content":"{unencrypted text}","id":"{salt}"}
POST /cr {"content":"{text}"} {"content":"{encrypted text}","id":"{salt}"}
POST /ecr {"content":"{encrypted text}","id":"{salt}"} {"content":"{unencrypted text}","id":"{salt}"}

About

A quick Jersey Web service that encrypts string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages