AnsweredAssumed Answered

PGP Encrypted output why it is a string

Question asked by sinsu20 Employee on Aug 9, 2018
Latest reply on Aug 10, 2018 by sinsu20

Hi Team,

 

We are using gateway 9.1.

 

In the gateway 9.1 when we are trying to encrypt a string using PGP public key then the encrypted values comes in string format as shown below

 

LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tClZlcnNpb246IEJDUEcgdjEuNDYKCmhJd0RTOXpr NFl6Z2ZjOEJBLzBhUDBKUnM4WGNLdzhYd2t6ODVCajhqQ2VqWGxFS0UzZEQvQTRhT3Yzb0VUckYK SXYwb0dwSmZ0dWNWamVuNFp3RVZKNnZwTFdTeS9OYkwxOWNnY2NITS9xNGJuOW8vMXZzenNwamJF a3ZRdUxJaQovTUQvNEZpRkRZRjVjd3YrK01aMExta2RrUkpmcWhaOTdtL0JzczJUVE10MVhUSmpT MDhZQ1JqMzAva21ndEpMCkFlVDVHYkhEZFhBaUdRbDdQYmFLMkdPTXZLdFV6blpOL2h3ZzdHT0t3 cjZGSGNUNDhZSlI1VUhzUXVYdks5MjUKWnY3eHo1MHlUajEwOFU3T0tGbzhkN1poRUVOaGZUdGlG Y25nCj13bDVhCi0tLS0tRU5EIFBHUCBNRVNTQUdFLS0tLS0K

The Same PGP Encryption when we do online it gives us a different encrypted value in a PGP MESSAGE format

-----BEGIN PGP MESSAGE-----
Version: BCPG v1.58
LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tClZlcnNpb246IEJDUEcgdjEuNDYKCmhJd0RTOXpr
NFl6Z2ZjOEJBLzBXc1NZK1c1TGo0N21jL0kvNGN0UmI0alBIZDRxbk1FSWRUZlBpUHNSZDhwL1IK
MDNndVlGcDdhbUhQUC9Eam4vSzdUL0Y1K05nUkFwSll0THFmblVkdUpYeHVLajRieVJQaDkrZWJX
TjB6ZzNCZApNU0VnUndkNlhmakhDeWRTSGNFNUh2RlhCMHpGcjFyU21COGc2L0s2VEQ4UlFZSnBs
N2RSMVh2dU9tTzJKTkpMCkFTRml2R3J1NmFtNEs2WXhDeGk0aWlyQWwvZjNlQWVoTE90ZEROcnBr
RkMwRmxvd25kekZxbGg5U25TK25uN0sKMVBJc2JqMER1ZWhzMGJLakZLdmsrRHcxcHA4ZlVkVzI2
MTdWCj1MbERkCi0tLS0tRU5EIFBHUCBNRVNTQUdFLS0tLS0K
-----BEGIN PGP MESSAGE-----


Please let me know why there is difference in the output and how we can suggest clients
to decrypt it when they get a response from CA API Gateway in string format.


Thanks

Outcomes