Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw hash API #5

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Xcode noise
/build
project.xcworkspace
xcuserdata
*.pbxuser
*.mode*
*.perspective*
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
2.0.0
- New Objective-C API; the old API was just removed, hence the bump in major version number.
- ARC support.
- Additional SHA1 and SHA512 hashing routines.
* The logic for computing the hash wasn't replicated, it was simply made more modular internally.
* The implementation of a new method like that is just 3 lines of code, most of which to create the "hash computation context" containing all the special parts for the requested algorithm.
- Parameter chunkSizeForReadingData was removed; too much of a hassle to pass it.
- Removed goto usage.
- Miscellaneous cleanup.

1.0.0
- Initial release.
120 changes: 0 additions & 120 deletions Common/FileMD5Hash.c

This file was deleted.

48 changes: 0 additions & 48 deletions Common/FileMD5Hash.h

This file was deleted.

48 changes: 0 additions & 48 deletions Common/FileMD5Hash_Prefix.pch

This file was deleted.

10 changes: 10 additions & 0 deletions FileMD5Hash.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Pod::Spec.new do |spec|
spec.name = 'FileMD5Hash'
spec.version = '2.0.0'
spec.license = 'Apache License, Version 2.0'
spec.summary = 'Library for computing MD5 hashes of files with small memory usage.'
spec.homepage = 'https://github.com/JoeKun/FileMD5Hash'
spec.author = { 'Joel Lopes Da Silva' => '[email protected]' }
spec.source = { :git => 'https://github.com/JoeKun/FileMD5Hash.git', :tag => '2.0.0' }
spec.source_files = 'Library/*.{h,m}'
end
Loading