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

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

example/lib/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, plugin_platform_interface

More

Packages that depend on xxhash