Skip to content
/ fnv Public
forked from Midi12/fnv

FNV hash algorithm for Dart language

License

Notifications You must be signed in to change notification settings

hcanyz/fnv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fnv

FNV hash implementation in pure Dart.

Usage

A simple usage example:

import 'package:fnv/fnv.dart';

void main() {
  // Returns int, 32-bit precision, full platform support
  print(fnv1a_32_s('foo'));

  // Returns int, 64-bit precision, but does not support web platforms
  print(fnv1a_64_s('foo'));

  // Returns BigInt, 64-bit precision, full platform support
  print(fnv1a_64_s_bigint('foo'));
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

FNV hash algorithm for Dart language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%