+ Reply
Results 1 to 4 of 4
  1. #1
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Calculate string hash (MD5, SHA1, etc)

    I was wondering if a md5 hashing tool has been ported to the iPhone/iPod touch. Any hash would be fine. What does Installer.app use?

    Even if it's built in to the (toolchain) sdk, I would like to know how.

    Thanks

  2. #2
    JLA
    JLA is offline
    Developer
    Join Date
    Oct 2007
    Posts
    224
    Thanks
    1
    Thanked 31 Times in 24 Posts

    I'm not sure, but even if there is nothing, you could easily find MD5 code on the web.

  3. #3
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    132
    Thanks
    2
    Thanked 18 Times in 15 Posts

    Default Openssl

    You can use hashing functions provided by openssl

  4. #4
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    OpenSSL has been removed from the iPhone SDK as of beta 7. You now must calculate MD5 with CommonCrypto. Here is an example: using CommonCrypto in an iPhone native app

Posting Permissions

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