CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007
    Posts
    77

    spaces, uppercase characters, and numbers are messing up my md5 hash function

    i am writing the md5 algorithm in python, it works just fine if the input string has nothing but lowercase characters. But when there are spaces, uppercase chars, and numbers the md5 hash isn't the same as what it should be(I am testing it against mysql) and the hashes in the md5 wikipedia article. Does anyone have any idea as to what is wrong? Is my os processing the characters differently than it should?I'm using a mac running osx leopard 64-bit. Any help would be appreciated.

  2. #2
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,765

    Re: spaces, uppercase characters, and numbers are messing up my md5 hash function

    You should post your code.
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured