<?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: Data encryption in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135523#M449250</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;You might try out for encryption the following function elements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_DECRYPT&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_ENCRYPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write an automatic field conversion into the DOMAIN of the field. Domains can be located in SE11 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: CONVERSION_EXIT_XXXXX_INPUT, CONVERSION_EXIT_XXXXX_OUTPUT&lt;/P&gt;&lt;P&gt;And assign the XXXXX code into your domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarsd&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 12:53:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-04T12:53:47Z</dc:date>
    <item>
      <title>Data encryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135522#M449249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a scenario where in I want to update some data in to the table in encryption format and again while displaying in the report in want to decrypt the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one has such kind of program can you please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135522#M449249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Data encryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135523#M449250</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;You might try out for encryption the following function elements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_DECRYPT&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_ENCRYPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write an automatic field conversion into the DOMAIN of the field. Domains can be located in SE11 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: CONVERSION_EXIT_XXXXX_INPUT, CONVERSION_EXIT_XXXXX_OUTPUT&lt;/P&gt;&lt;P&gt;And assign the XXXXX code into your domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarsd&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135523#M449250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data encryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135524#M449251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the followimg fms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_ENCRYPT and&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_DECRYPT are Function modules which does the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code is as shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT EN_DECRYPT_TEST.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Data enpwd(32) type c.&lt;/P&gt;&lt;P&gt;parameter pwd like enpwd .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="8" type="ul"&gt;&lt;P&gt;Encrypting *******************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_DECRYPTED_PASSWORD = pwd&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_ENCRYPTED_PASSWORD = enpwd&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="8" type="ul"&gt;&lt;P&gt;Decrypting *******************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_ENCRYPTED_PASSWORD = enpwd&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_DECRYPTED_PASSWORD = pwd&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="9" type="ul"&gt;&lt;P&gt;Output **********************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;write:/ 'Encrypt data=', enpwd,&lt;/P&gt;&lt;P&gt;/ 'Decrypt data=', pwd. &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpfull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135524#M449251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data encryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135525#M449252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi I have tried  'FIEB_PASSWORD_DECRYPT' but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pl help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135525#M449252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data encryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135526#M449253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can encript the data as follows(A Simple scenario):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  for each character add some value(let it be 26)&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can decript the data as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  for each character subtract tha same value( 26)&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If want to encript such that nobody can understand,i am giving the code in C Lanhuage as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void encipher(unsigned long *const v,unsigned long *const w,&lt;/P&gt;&lt;P&gt;   const unsigned long *const k)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   register unsigned long       y=v[0],z=v[1],sum=0,delta=0x9E3779B9,&lt;/P&gt;&lt;P&gt;				a=k[0],b=k[1],c=k[2],d=k[3],n=32;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   while(n--&amp;gt;0)&lt;/P&gt;&lt;P&gt;      {&lt;/P&gt;&lt;P&gt;      sum += delta;&lt;/P&gt;&lt;P&gt;      y &lt;EM&gt;= (z &amp;lt;&amp;lt; 4)&lt;/EM&gt;a ^ z&lt;EM&gt;sum ^ (z &amp;gt;&amp;gt; 5)&lt;/EM&gt;b;&lt;/P&gt;&lt;P&gt;      z &lt;EM&gt;= (y &amp;lt;&amp;lt; 4)&lt;/EM&gt;c ^ y&lt;EM&gt;sum ^ (y &amp;gt;&amp;gt; 5)&lt;/EM&gt;d;&lt;/P&gt;&lt;P&gt;      }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   w[0]=y; w[1]=z;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void decipher(unsigned long *const v,unsigned long *const w,&lt;/P&gt;&lt;P&gt;   const unsigned long *const k)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   register unsigned long       y=v[0],z=v[1],sum=0xC6EF3720,&lt;/P&gt;&lt;P&gt;				delta=0x9E3779B9,a=k[0],b=k[1],&lt;/P&gt;&lt;P&gt;				c=k[2],d=k[3],n=32;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   /* sum = delta&amp;lt;&amp;lt;5, in general sum = delta * n */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   while(n--&amp;gt;0)&lt;/P&gt;&lt;P&gt;      {&lt;/P&gt;&lt;P&gt;      z -= (y &amp;lt;&amp;lt; 4)&lt;EM&gt;c ^ y&lt;/EM&gt;sum ^ (y &amp;gt;&amp;gt; 5)+d;&lt;/P&gt;&lt;P&gt;      y -= (z &amp;lt;&amp;lt; 4)&lt;EM&gt;a ^ z&lt;/EM&gt;sum ^ (z &amp;gt;&amp;gt; 5)+b;&lt;/P&gt;&lt;P&gt;      sum -= delta;&lt;/P&gt;&lt;P&gt;      }&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   w[0]=y; w[1]=z;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got needed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps you.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135526#M449253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data encryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135527#M449254</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;Try using methods encode_base64 and decode_base64 of class cl_http_utility.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dirk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-encryption/m-p/2135527#M449254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:26:43Z</dc:date>
    </item>
  </channel>
</rss>

