flutter_file_hash 0.0.2
flutter_file_hash: ^0.0.2 copied to clipboard
Native Flutter file and string hashing powered by Zig, with SHA, MD5, HMAC, BLAKE3, XXH3, cancellation, and Android content:// streams.
Releases #
0.0.2 #
- Add dartdoc comments for the public Dart API, including
fileHash,stringHash,HashAlgorithm,HashOptions, cancellation types, and package exceptions. - Improve pub.dev score readiness by documenting the exported API surface.
- Simplify README badges to match the React Native package style: package version and monthly downloads.
- Align the pub.dev publishing workflow with tag-based GitHub Actions publishing.
0.0.1 #
- Initial release of
flutter_file_hash, a Flutter wrapper around thezig-files-hashnative core. - Add
fileHashfor native file hashing on Android, iOS, macOS, Linux, and Windows, with support for filesystem paths,file://URI strings, and Androidcontent://streams. - Add
stringHashfor UTF-8 strings and base64 payloads already in Dart memory. - Support SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256, MD5, SHA-1, HMAC variants, BLAKE3, keyed BLAKE3, and seeded XXH3-64.
- Return lowercase hex digests and validate key/seed options before native calls.
- Add cooperative cancellation for long-running file hashes.
- Bundle prebuilt Zig native artifacts through Flutter FFI/native assets so app developers do not need a local Zig toolchain.