Skip to content

bug(Pseudo Random Number Generator): negative number of bytes leads to an unhandled RangeError #2448

@HackingRepo

Description

@HackingRepo

Drag Pseudo Random Number Generator, and then set number of bytes to -32, again the evils negative numbers caused

Pseudo-Random Number Generator - RangeError in https://gchq.github.io/CyberChef/modules/Ciphers.js on line 2.<br><br>Message: invalid or out-of-range index

that is improper error handling

Test Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions