bbs 0.0.1 copy "bbs: ^0.0.1" to clipboard
bbs: ^0.0.1 copied to clipboard

Dart 1 only

Implementation of the BlumBlumShub CSPRNG (Cryptographically Secure Pseudo Random Number Generator)

example/bbs.dart

library bbs.example;

import 'package:bbs/bbs.dart';

main() {
  var bbs = new BlumBlumShub();
  
  print(bbs.next(10));
  print(bbs.nextInt(100));
  // print(bbs.nextDouble()); This is currently not supported
  print(bbs.nextBool());
}
0
likes
40
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Implementation of the BlumBlumShub CSPRNG (Cryptographically Secure Pseudo Random Number Generator)

Repository (GitHub)
View/report issues

Documentation

Documentation

License

BSD-3-Clause (license)

Dependencies

bignum

More

Packages that depend on bbs