<?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: How to Encrypt - Decrypt the Passwords in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459182#M1650186</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use this class for encryption and decryption passwords&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class&lt;/STRONG&gt;-&amp;gt;CL_HARD_WIRED_ENCRYPTOR&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venkatesh&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 13:58:49 GMT</pubDate>
    <dc:creator>venkateshamaraneni</dc:creator>
    <dc:date>2022-04-28T13:58:49Z</dc:date>
    <item>
      <title>How to Encrypt - Decrypt the Passwords</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459178#M1650182</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 am developing an integration between SAP and SFTP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to save the encrypted password of SFTP to database tables and then i want to use the decrypted password to connect SFTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to convert the encrypted password to decrypted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 09:18:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459178#M1650182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T09:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Encrypt - Decrypt the Passwords</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459179#M1650183</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 will have to encrypt the entered password first and compare the encrypted passwords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not sure, but maybe FM &lt;STRONG&gt;VRM_COMPUTE_MD5&lt;/STRONG&gt; will do the encrypting-job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check it out and also check below FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the &lt;STRONG&gt;DB_CRYPTO_PASSWORD&lt;/STRONG&gt; function module, there's no way to decrypt it back that I know of. You just pass the user input to the function module and compare the encrypted output to the value stored in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also try this two&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following FM to encrypt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following FM to decrypt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By these FM you can encrypt &amp;amp; decrypt any fields of the Program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;  NZAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 09:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459179#M1650183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T09:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Encrypt - Decrypt the Passwords</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459180#M1650184</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;Use the following FM to encrypt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following FM to decrypt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 10:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459180#M1650184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-21T10:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Encrypt - Decrypt the Passwords</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459181#M1650185</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 found code below and solved;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**--Password&lt;/P&gt;&lt;P&gt;  clear v_ac_string . v_ac_string = S_PASS .&lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;      CALL METHOD o_encryptor-&amp;gt;encrypt_string2string&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          the_string = v_ac_string&lt;/P&gt;&lt;P&gt;        RECEIVING&lt;/P&gt;&lt;P&gt;          result     = i_data-password.&lt;/P&gt;&lt;P&gt;    CATCH cx_encrypt_error INTO o_cx_encrypt_error.&lt;/P&gt;&lt;P&gt;      CALL METHOD o_cx_encrypt_error-&amp;gt;if_message~get_text&lt;/P&gt;&lt;P&gt;        RECEIVING&lt;/P&gt;&lt;P&gt;          result = v_error_msg.&lt;/P&gt;&lt;P&gt;      MESSAGE v_error_msg TYPE 'E'.&lt;/P&gt;&lt;P&gt;  ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**--password&lt;/P&gt;&lt;P&gt;  CLEAR v_dec_string . CLEAR v_ac_string .&lt;/P&gt;&lt;P&gt;  v_ac_string = i_data-password .&lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;      CALL METHOD o_encryptor-&amp;gt;decrypt_string2string&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          the_string = v_ac_string&lt;/P&gt;&lt;P&gt;        RECEIVING&lt;/P&gt;&lt;P&gt;          result     = v_dec_string.&lt;/P&gt;&lt;P&gt;    CATCH cx_encrypt_error INTO o_cx_encrypt_error.&lt;/P&gt;&lt;P&gt;      CALL METHOD o_cx_encrypt_error-&amp;gt;if_message~get_text&lt;/P&gt;&lt;P&gt;        RECEIVING&lt;/P&gt;&lt;P&gt;          result = v_error_msg.&lt;/P&gt;&lt;P&gt;      MESSAGE v_error_msg TYPE 'E'.&lt;/P&gt;&lt;P&gt;  ENDTRY.&lt;/P&gt;&lt;P&gt;  password = v_dec_string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2011 08:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459181#M1650185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-26T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Encrypt - Decrypt the Passwords</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459182#M1650186</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use this class for encryption and decryption passwords&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class&lt;/STRONG&gt;-&amp;gt;CL_HARD_WIRED_ENCRYPTOR&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venkatesh&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 13:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-encrypt-decrypt-the-passwords/m-p/8459182#M1650186</guid>
      <dc:creator>venkateshamaraneni</dc:creator>
      <dc:date>2022-04-28T13:58:49Z</dc:date>
    </item>
  </channel>
</rss>

