flutter_file_hash 0.0.1
flutter_file_hash: ^0.0.1 copied to clipboard
Native Flutter file and string hashing powered by Zig, with SHA, MD5, HMAC, BLAKE3, XXH3, cancellation, and Android content:// streams.
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.