Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 434 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 434 Bytes

NSString+MD5 Category

This is a simple implementation of the MD5 algorithm on top of the NSString class.

Usage

  1. Copy the NSString+MD5.h and NSString+MD5.m files into your project
  2. Import the NSString+MD5.h file in your controller, classes etc
  3. Call the generateMD5 class method on NSString
NSString *hash = [[NSString alloc] generateMD5:@"your string goes here"];

Feel free to contribute!