Skip to content

liufan321/NSString-Hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSString-Hash

The NSString category for MD5, SHA1, SHA256, SHA512 Hash, and hashes of files with small memory usage

NSString hash methods

  • string.md5String
  • string.sha1String
  • string.sha256String
  • string.sha512String

HMAC hash methods

  • [string hmacMD5StringWithKey:key]
  • [string hmacSHA1StringWithKey:key]
  • [string hmacSHA256StringWithKey:key]
  • [string hmacSHA256StringWithKey:key]

File hash methods

  • filePath.fileMD5Hash
  • filePath.fileSHA1Hash
  • filePath.fileSHA256Hash
  • filePath.fileSHA512Hash

About

The extension method for NSString Hash

Resources

License

Stars

Watchers

Forks

Packages

No packages published