Skip to content

Use secure random #1356

@nothingismagick

Description

@nothingismagick

We should be using crypto not math.

return Math.floor((1 + Math.random()) * 0x10000)

Metadata

Metadata

Assignees

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