<?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: Encoding and decoding of tables data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816242#M1588542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai ,&lt;/P&gt;&lt;P&gt;Use this Sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA pwd TYPE string.&lt;/P&gt;&lt;P&gt;  DATA encoded TYPE string.&lt;/P&gt;&lt;P&gt;  pwd = ls_node1-pwd.&lt;/P&gt;&lt;P&gt;  CONDENSE pwd.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_http_utility=&amp;gt;if_http_utility~encode_base64&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      unencoded = pwd&lt;/P&gt;&lt;P&gt;    RECEIVING&lt;/P&gt;&lt;P&gt;      encoded   = encoded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 12:13:03 GMT</pubDate>
    <dc:creator>KiranJ</dc:creator>
    <dc:date>2011-05-02T12:13:03Z</dc:date>
    <item>
      <title>Encoding and decoding of tables data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816238#M1588538</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 need to encode the values in the fields of the data base table and again i need to put the encoded data into that data base table back and i need to decode the data base table back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any fm's for this?&lt;/P&gt;&lt;P&gt;Please suggest me a approch of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Radhika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 10:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816238#M1588538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-02T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding and decoding of tables data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816239#M1588539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at methods of class CL_HARD_WIRED_ENCRYPTOR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 10:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816239#M1588539</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2011-05-02T10:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding and decoding of tables data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816240#M1588540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francois,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the methods in the class CL_HARD_WIRED_ENCRYPTOR. &lt;/P&gt;&lt;P&gt;But, in my case the ecrypted and decrypted data lengths should be same, &lt;/P&gt;&lt;P&gt;bcoz after encrypted that data should fit into that particular field of the same table.&lt;/P&gt;&lt;P&gt;I did not found any method for this case in the above class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Radhika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 10:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816240#M1588540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-02T10:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding and decoding of tables data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816241#M1588541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even tho thats possible, be aware that Encryptions where Encrypted String is of same length as unencrypted are not at slightest safe encryptions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 12:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816241#M1588541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-02T12:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding and decoding of tables data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816242#M1588542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai ,&lt;/P&gt;&lt;P&gt;Use this Sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA pwd TYPE string.&lt;/P&gt;&lt;P&gt;  DATA encoded TYPE string.&lt;/P&gt;&lt;P&gt;  pwd = ls_node1-pwd.&lt;/P&gt;&lt;P&gt;  CONDENSE pwd.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_http_utility=&amp;gt;if_http_utility~encode_base64&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      unencoded = pwd&lt;/P&gt;&lt;P&gt;    RECEIVING&lt;/P&gt;&lt;P&gt;      encoded   = encoded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 12:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816242#M1588542</guid>
      <dc:creator>KiranJ</dc:creator>
      <dc:date>2011-05-02T12:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding and decoding of tables data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816243#M1588543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you're not using that method for actual password encryption.  Base64 encoding should only be used for data transmission.  I think the poster has used the incorrect term, BUT Florian is absolutely right about the hard-wired encryptor method.  A child could hack that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@poster: if you need to encrypt data, then configure and use the SAP Security library.  The help files will tell you how to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 14:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoding-and-decoding-of-tables-data/m-p/7816243#M1588543</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-05-02T14:13:02Z</dc:date>
    </item>
  </channel>
</rss>

