Skip to content

Version 1.24.0

Choose a tag to compare

@dipu-bd dipu-bd released this 20 Dec 20:01
  • Secure random number generation. by @elliotwutingfeng in #35
    • generator_vm.dart
      • Avoids mixing predictable datetime output with CSPRNG output.
    • generator_js.dart
      • Avoids mixing predictable datetime output with CSPRNG output.
      • Adds NodeRandom as an implementation of Random for NodeJS.
        • nextInt(max) draws 32-bit values from NodeJS's internal crypto package.
      • secureRandom() uses NodeRandom for secure random numbers.
      • $generateSeed() delegates to secureRandom().
    • generators.dart
      • Fixes spelling of _hashGenerator

Full Changelog: v1.23.0...v1.24.0