Encrypt plaintext.
POST/crypto/encrypt
Encrypt plaintext.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
cryptoTypestringrequired
Possible values: [AES
, DES
, TripleDES
, Rabbit
, RC4
, RC4Drop
]
messagestringrequired
The plaintext.
secretKeystringrequired
The encryption key.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
encryptedTextstringrequired
The ciphertext.
{
"encryptedText": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}