Skip to content

Should RNGs really be clone? #20973

@brson

Description

@brson

We recently made most, but not all RNGs clonable. ISTM that the use cases for this are quite limited, and it creates a big opportunity for making mistakes by duplicating random numbers in scenarios where that could be a security risk (imagine accidentally deriving clone on a secure rng).

cc @aturon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions