Working MD5 for Objective-C


Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/jouni/public_html/blog/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147
  1.  
  2.  
  3. #import <CommonCrypto/CommonDigest.h>
  4. "%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X",
  5. result[0], result[1],
  6. result[2], result[3],
  7. result[4], result[5],
  8. result[6], result[7],
  9. result[8], result[9],
  10. result[10], result[11],
  11. result[12], result[13],
  12. result[14], result[15]];
  13.  
  14. }
  15.  
  16.