inital commit

This commit is contained in:
2017-04-07 23:19:03 +01:00
commit cae49d6443
7 changed files with 230 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# Vault
To build the vault you'll need to use the makefile. From the root of this project run ```make build```.
To run the app ```make start```
To stop the app ```make stop```
### Routes
POST "/"
```
{
"data": "Test Data",
"ttl": 30
}
```
POST "/decrypt"
```
{
"vault": "3HXCBDkcT7R2ub39FXluykb_SZmC2udY09R-F1UuEnnTaekT60T6LbhUf_llovadxRg3w1ZL_krFsyoHodpvqeNpuXGsdMoHAVxJMhZpBOzH",
"key": "efc927b61eab7f9cc3bd274b40330956"
}
```