<?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: AES encryption using ABAP FMs or class methods in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308711#M1918216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SSF libray as documented here is only suited to Document handling and doesnt provide direct aes encryption and descrption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still look for call &lt;/P&gt;&lt;P&gt;encrypted_text&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp; Encrypt( algorithm, mode, string, key )&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AES-GCM ideally but AES-CBM is better than nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;does any body know how to call this in ABAP ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 14:38:41 GMT</pubDate>
    <dc:creator>phil_soady</dc:creator>
    <dc:date>2016-06-09T14:38:41Z</dc:date>
    <item>
      <title>AES encryption using ABAP FMs or class methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308708#M1918213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to encrypt a string data using AES 128 method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in java, I could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SampleEncryptDecrypt oSed = new SampleEncryptDecrypt();&lt;/P&gt;&lt;P&gt;//byte[] key = oSed.generateKey(128);&lt;/P&gt;&lt;P&gt;String str1 = "1111111111111111"; //sample key&lt;/P&gt;&lt;P&gt;byte[] key = str1.getBytes();&lt;/P&gt;&lt;P&gt;System.out.println("Key:" + new String(key));&lt;/P&gt;&lt;P&gt;byte[] encryptedData = oSed.encryptData("MyText", key);&lt;/P&gt;&lt;P&gt;System.out.println("encryptedData: " + new String(encryptedData));&lt;/P&gt;&lt;P&gt;String decryptedData =&amp;nbsp; oSed.decryptData(key, encryptedData);&lt;/P&gt;&lt;P&gt;System.out.println("decryptedData:" + decryptedData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the output is something like:&lt;/P&gt;&lt;P&gt;Key:1111111111111111&lt;/P&gt;&lt;P&gt;encryptedData: ¼+\žÉP³…è®˜JLÏ#Þ&lt;/P&gt;&lt;P&gt;decryptedData: MyText&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are there any FMs or class methods in ABAP, that we can use to encrypt using AES 128 algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked in scn, but could not find easy way/sample programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Madhu_1980&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 10:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308708#M1918213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-12T10:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: AES encryption using ABAP FMs or class methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308709#M1918214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote some code before, hope it helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Sumu-Ning/AES" title="https://github.com/Sumu-Ning/AES"&gt;Sumu-Ning/AES · GitHub&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 03:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308709#M1918214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-13T03:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: AES encryption using ABAP FMs or class methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308710#M1918215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest reading the following documents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1c51c590-0201-0010-ffbc-b2bef1c57385?QuickLink=index&amp;amp;overridelayout=true&amp;amp;5003637376809"&gt;Secure Store &amp;amp; Forward (SSF) API Specifications&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-17358"&gt;Secure Store and Forward (SSF) Programmers' Guide&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard algorithm used by SSF is configured by ssf/ssf_symencr_alg but you also can pass it as parameter to the envelope function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be sure to use a recent SAPCRYPTOLIB patch level, so AES is technically possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308710#M1918215</guid>
      <dc:creator>cris_hansen</dc:creator>
      <dc:date>2015-10-16T20:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: AES encryption using ABAP FMs or class methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308711#M1918216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SSF libray as documented here is only suited to Document handling and doesnt provide direct aes encryption and descrption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still look for call &lt;/P&gt;&lt;P&gt;encrypted_text&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp; Encrypt( algorithm, mode, string, key )&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AES-GCM ideally but AES-CBM is better than nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;does any body know how to call this in ABAP ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 14:38:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aes-encryption-using-abap-fms-or-class-methods/m-p/11308711#M1918216</guid>
      <dc:creator>phil_soady</dc:creator>
      <dc:date>2016-06-09T14:38:41Z</dc:date>
    </item>
  </channel>
</rss>

