dart-lang / web_socket_channel

StreamChannel wrappers for WebSockets.
https://pub.dev/packages/web_socket_channel
BSD 3-Clause "New" or "Revised" License
412 stars 107 forks source link

use secure random number generator #335

Closed danielgrad closed 3 months ago

danielgrad commented 3 months ago

Fixes #334

kevmoo commented 3 months ago

Sometimes random is needed to be secure. Sometimes it's needed just for noise. "secure" is more expensive, so we should make sure it's strictly needed.

kevmoo commented 3 months ago

Maybe @brianquinlan has an idea, too.

kevmoo commented 3 months ago

Ah! See the issue now. Updated description. Thanks!

brianquinlan commented 3 months ago

Could you update CHANGELOG.md and pubspec.yaml?

brianquinlan commented 3 months ago

@danielgrad Thanks so much for fixing this!