0 purchases
randombytes
Usage #
A simple usage example:
import 'package:randombytes/randombytes.dart';
main() {
print('${randomBytes(20)}');
}
copied to clipboard
or:
import 'package:randombytes/randombytes.dart';
main() {
print('${randomBytes(20, secure: true)}');
}
copied to clipboard
Note that with [secure] enabled [randomBytes] is about 200~300 times slower.
Features and bugs #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.