Skip to content

Why does this module use sjcl for sync randomBytes? #41

@ctavan

Description

@ctavan

Given the discussion at uuidjs/uuid#375 (comment) I was wondering why this module doesn't use the same approach as https://github.com/LinusU/react-native-get-random-values to provide a sync randomBytes() implementation but instead falls back to sjcl?

Is this just a legacy because the fact that it is possible to create sync react-native modules was little known before facebook/react-native#20686 or are there more profound reasons?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions