opensubtitles_hash 1.0.0 copy "opensubtitles_hash: ^1.0.0" to clipboard
opensubtitles_hash: ^1.0.0 copied to clipboard

outdated

Simple Dart hashing library for OpenSubtitles.

opensubtitles_hash #

Simple Dart hashing library for OpenSubtitles.

Usage #

To hash a local file:

String hash = await OpenSubtitlesHasher.computeFileHash(
  new File('breakdance.avi')
);

To hash a remote file (HTTP):

String hash = await OpenSubtitlesHasher.computeURLHash(
  "http://www.opensubtitles.org/addons/avi/breakdance.avi",
  headers: { "X-My-Header": "true" }, // (Optional)
  followRedirects: false              // (Optional)
);

Testing #

Simply use pub run test test.dart to test that the library functions correctly.

1
likes
0
pub points
0%
popularity

Publisher

verified publishersamjakob.com

Simple Dart hashing library for OpenSubtitles.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

test

More

Packages that depend on opensubtitles_hash