git clone https://github.com/sonufrienko/gke-simple-app
cd gke-simple-app/app
npm i
npm run start
The app built with Node.js and allow AES encryption/decryption using HTTP request.
Encrypt a "message" with "secret"
http://localhost:4000/encrypt?secret=8650&message=i-love-you
Decrypt a "message" with "secret"
http://localhost:4000/decrypt?secret=8650&message=12840030619419b8d8ec4fe61e275d99
Encrypt a "message" with "secret"
curl -G 'http://localhost:4000/encrypt' \
-d secret=8650 \
-d message=i-love-you
Decrypt a "message" with "secret"
curl -G 'http://localhost:4000/decrypt' \
-d secret=8650 \
-d message=12840030619419b8d8ec4fe61e275d99