Encrypt the string
get
/PASService/rest/services/encryptionService
Encrypts the specified string
Request
Query Parameters
-
plainText: string
plainText
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : schema
Type:
object
Examples
This example describes how to encrypt the string.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X GET -H "Accept: application/json" -u username:password "server:port/PASService/rest/services/encryptionService?plainText=test"
Example Response Body
The following shows an example of the response body in JSON format:
"{ encrptedText: ekZKsfB2/BKkONz2shNsUA== }"