IBM Support

encrypt_string.cmd is incorrectly encrypting string that contain special characters

Troubleshooting


Problem

After encrypting a string that contains special characters like equal character (=) or the percent character (%) using the encrypt_string.cmd script, the returned result when decrypting that previously encrypted string, using the decrypt_string.cmd is incorrect, it is missing characters.

Symptom

When you encrypt a string like test=true%test2%test3=false and try to decrypt it, the result return only test,
everything after the equal sign is missing.
Also if you try to encrypt a string like test%true%false, the return string after decryption returns only testfalse,
everything between the percent characters including the percent characters themselves is also missing.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m0z000000bmCsAAI","label":"Generic"}],"ARM Case Number":"TS011286003","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 December 2022

UID

ibm16849133