cwEncrypt
Description
Encrypt the given data
URI
/cwEncrypt?keyContext=:{keyContext} &plainText={plaintext} &type={type}&tweak={tweak}
Method
GET
URL Parameters:
Name |
Required |
Description |
Default Value |
Example |
Required |
Key Context to be used for this encryption |
Empty String |
KeyRing1-Key1 |
|
plainText |
Required |
Plain Text to be encrypted |
Empty String |
John Bogle |
type |
Required |
Entity Type |
|
PERSON_NAME_NICE |
Required |
Tweak string for the encryption |
Empty String |
1234 |
Response Codes
200 - Success
400 - Bad Request
401 - Unauthorized
Example Request
Example Response
Ovud Njsakl