Integrate Spudcrypt's powerful AES-GCM backend into your own applications using our REST endpoints.
POST
/api/encrypt
curl -X POST /api/encrypt \
-H "Content-Type: application/json" \
-d '{"text": "Secret message", "password": "hunter2"}'
{
"result": "🥔SPUD~[salt]~[nonce]~[tag]~[cipher]🍟"
}
POST
/api/decrypt
curl -X POST /api/decrypt \
-H "Content-Type: application/json" \
-d '{"encryptedString": "🥔SPUD~...", "password": "hunter2"}'
{
"result": "Secret message"
}