xxhash 1.0.2 copy "xxhash: ^1.0.2" to clipboard
xxhash: ^1.0.2 copied to clipboard

A FFI plugin package that implements xxHash, inspired by crypto.

example/main.dart

import 'package:xxhash/xxhash.dart';
import 'dart:convert';

void main() {
  var bytes = utf8.encode("foobar");

  var digest = xxh32.convert(bytes);

  print("Digest as bytes: ${digest.bytes}");
  print("Digest as hex string: $digest");
}
3
likes
0
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

A FFI plugin package that implements xxHash, inspired by crypto.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on xxhash