UNICORN - iOS
実体メソッド | 全メンバ一覧
NSData(Crypto) カテゴリ

実体メソッド

(NSData *) - md5Hash
 
(NSString *) - md5HexHash
 
(NSData *) - sha1Hash
 
(NSString *) - sha1HexHash
 

メソッド詳解

- (NSData *) md5Hash

md5Hash Calculates the MD5 hash from the data in the specified NSData object and returns the binary representation

戻り値
A NSData object containing the binary representation of the MD5 hash
- (NSString *) md5HexHash

md5HexHash Calculates the MD5 hash from the data in the specified NSData object and returns the hexadecimal representation

戻り値
A NSString object containing the hexadecimal representation of the MD5 hash
- (NSData *) sha1Hash

sha1Hash Calculates the SHA-1 hash from the data in the specified NSData object and returns the binary representation

戻り値
A NSData object containing the binary representation of the SHA-1 hash
- (NSString *) sha1HexHash

sha1HexHash Calculates the SHA-1 hash from the data in the specified NSData object and returns the hexadecimal representation

戻り値
A NSString object containing the hexadecimal representation of the SHA-1 hash

このカテゴリ詳解は次のファイルから抽出されました: