Encrypt the string

get

/PASService/rest/services/encryptionService

Encrypts the specified string

Request

Query Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: object
Back to Top

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==
}"
Back to Top