Announcement

Collapse
No announcement yet.

Problem with encryption

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with encryption

    I am developing a website with the support of new users of the CRM. I'm having trouble with the password. Prompt, what method to encrypt the data, if you use the keys, what and in what order.
    Thank you in advance.

  • #2
    Authentication for cURL should be like
    PHP Code:
    curl_setopt($chCURLOPT_USERPWD$userName ':' $password);
     
    curl_setopt($chCURLOPT_HTTPAUTHCURLAUTH_BASIC); 
    Job Offers and Requests

    Comment


    • #3
      If you need to know how to generate a password throw PHP take a look into application/Espo/Core/Utils/PasswordHash.php
      But password should be hashed in a moment when you create a new user.
      Last edited by AlexAv; 04-04-2017, 12:22 PM.

      Comment


      • #4
        Thank you
        I understood

        Comment


        • #5
          Originally posted by AlexAv View Post
          If you need to know how to generate a password throw PHP take a look into application/Espo/Core/Utils/PasswordHash.php
          But password should be hashed in a moment when you create a new user.
          sorry, i don't understand this line " return str_replace("{0}", $salt, $this->saltFormat);" What is saltFormat?

          Comment

          Working...
          X