NSString(MBMessageDigest) Category Reference
Declared in | NSString+MBMessageDigest.h |
---|
Overview
Extends the NSString
class by adding methods for computing secure, one-way
message digest hashes.
– MD5
Computes an MD5 hash from the contents of the receiver.
- (nonnull NSString *)MD5
Return Value
the MD5 hash, as a lowercase hexadecimal string
Declared In
NSString+MBMessageDigest.h
– SHA1
Computes an SHA-1 hash from the contents of the receiver.
- (nonnull NSString *)SHA1
Return Value
the SHA-1 hash, as a lowercase hexadecimal string
Declared In
NSString+MBMessageDigest.h