<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Key based Encryption/Decryption in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463991#M1930079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2016 08:06:36 GMT</pubDate>
    <dc:creator>sridhar_meesala</dc:creator>
    <dc:date>2016-01-11T08:06:36Z</dc:date>
    <item>
      <title>Key based Encryption/Decryption in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463988#M1930076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where a string needs to be encrypted based on key/pwd and later needs to decrypted with the same key/pwd in ABAP.&lt;/P&gt;&lt;P&gt;Below is the highlights of requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Key/pwd has to be generated and stored for encryption/decryption.&lt;/LI&gt;&lt;LI&gt;String needs to be encrypted with this key/pwd in ABAP.&lt;/LI&gt;&lt;LI&gt;The encrypted string needs to be decrypted with the same key/pwd in ABAP.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest on how to achieve this in ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 06:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463988#M1930076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T06:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Key based Encryption/Decryption in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463989#M1930077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the class CL_HARD_WIRED_ENCRYPTOR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Taiyeb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 07:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463989#M1930077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T07:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Key based Encryption/Decryption in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463990#M1930078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the class '&lt;SPAN style="color: #333333; font-size: 12px;"&gt;CL_HARD_WIRED_ENCRYPTOR&lt;/SPAN&gt;' but this does not align with my requirements since the string is not encrypted with any custom/generated&amp;nbsp; key/password. &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 07:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463990#M1930078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T07:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Key based Encryption/Decryption in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463991#M1930079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 08:06:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463991#M1930079</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2016-01-11T08:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Key based Encryption/Decryption in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463992#M1930080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest the following:&lt;/P&gt;&lt;P&gt;1. Generate the password using FM : RSEC_GENERATE_PASSWORD.&lt;/P&gt;&lt;P&gt;2. Create an FM ZENCRYPTxxxx passing the generated key/password and string .&lt;/P&gt;&lt;P&gt;3. In the ZENCRYPTxxxx FM call the method ENCRYPT_STRING2STRING (concat the key/pwd and string for the parameter) from the class cl_hard_wired_encryptor and get the encrypted string.&lt;/P&gt;&lt;P&gt;4. Store the key/password and encrypted string into your table.&lt;/P&gt;&lt;P&gt;5. Similarly create FM for decrypting and read from the table based on the password and use the decrypt_string2string from the cl_hard_wired_encryptor class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Taiyeb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 08:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463992#M1930080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T08:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Key based Encryption/Decryption in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463993#M1930081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check below SCN link for Encryption and Decryption. But I suggest it will be good if you can get catch of any UNIX consultant and get developed UNIX script of this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://answers.sap.com/message/5753724#5753724"&gt;http://scn.sap.com/message/5753724#5753724&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 09:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key-based-encryption-decryption-in-abap/m-p/11463993#M1930081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T09:31:06Z</dc:date>
    </item>
  </channel>
</rss>

