Results 1 to 3 of 3

Thread: MD5 format for password

  1. #1
    sugar7478 is offline Senior Member
    Join Date
    Jun 2008
    Posts
    40

    Default MD5 format for password

    Login SOAP API expects password to be sent in MD5 format.

    We are planning to call SugarCRM SOAP API from a java application and create Accounts as needed. We see that we need to pass session id to call Set entry SOAP API and session is send as output after calling login SOAP API.

    Login SOAP API requires user id and password (MD5 format) to validate and get a session id. Is there an utility to convert a string password to MD5 format in java or PHP?

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: MD5 format for password

    There is usually a function or method built into the programming language that will do it for you.

    For example, in PHP, the following line of code would put the MD5 encrypted string into the variable $myvar

    Code:
    $myvar = md5("encrypt_this");
    I have very little experience with Java, so I don't know what the equivalent would be in that language. In .NET, it is a bit more involved (convoluted) than in PHP, point being, the process and complexity will vary by language.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: MD5 format for password

    Please use Google for all obvious answers .

    http://www.twmacinta.com/myjava/fast_md5.php#built_in
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding format for SSN and EIN
    By ptemplin7 in forum Feature Requests
    Replies: 0
    Last Post: 2007-06-28, 07:38 PM
  2. Problem with date format
    By Binotto in forum Help
    Replies: 2
    Last Post: 2007-05-14, 07:17 AM
  3. Wrong date format in $this?
    By leenwebb in forum Developer Help
    Replies: 5
    Last Post: 2007-02-06, 08:41 PM
  4. Problem with Date format
    By nicolas in forum Help
    Replies: 1
    Last Post: 2005-05-19, 02:16 PM
  5. Date format
    By florent in forum Help
    Replies: 1
    Last Post: 2005-03-22, 06:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •