SHAMessageDigest Class Reference
Inherits from | NSObject |
---|---|
Declared in | SHAMessageDigest.h SHAMessageDigest.m |
Overview
Class holds secure one-way hash functions that take arbitrary-sized data and output a fixed-length hash value.
– updateWithString:
Accumulate string data chunk.
- (void)updateWithString:(NSString *)string
Discussion
Accumulate string data chunk.
Declared In
SHAMessageDigest.h
– update:
Accumulate raw data chunk.
- (void)update:(NSData *)data
Discussion
Accumulate raw data chunk.
Declared In
SHAMessageDigest.h
– final
Compute message digest with accumulated data chunks.
- (unsigned char *)final
Return Value
pointer to the internal buffer that holds the message digest value.
Discussion
Compute message digest with accumulated data chunks.
Declared In
SHAMessageDigest.h
– size
size of the message digest in bytes.
- (size_t)size
Return Value
size of the message digest in bytes.
Declared In
SHAMessageDigest.h