cuid2 3.1.0 copy "cuid2: ^3.1.0" to clipboard
cuid2: ^3.1.0 copied to clipboard

A dart implementaion of the secure, collision-resistant ids optimized for horizontal scaling and performance (v2).

1.0.0 #

  • Initial version.

2.0.0 #

  • Add cuidConfig() for more customizability.
  • Example:
Function myCounter(int start) {
    return () => start += 5;
}

final cc = cuidConfig(counter: myCounter(0));
final id = cc.gen();
  • [BREAKING] remove entropyLength param from cuid() and cuidSecure()

3.0.0 #

  • refactor code and bring it up to cuid2,js v2.2.0
  • add more tests
  • [POSSIBLE BREAKING CHANGE] counter parameter function is now of type int Function()? instead of Function?

3.1.0 #

  • fix fingerprinting on web
  • increase min SDK version from 2.12.0 to 2.14.0
7
likes
150
pub points
76%
popularity

Publisher

verified publisherobsidia.io

A dart implementaion of the secure, collision-resistant ids optimized for horizontal scaling and performance (v2).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

pointycastle

More

Packages that depend on cuid2