Skip to content

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

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 react/react-native#20686 or are there more profound reasons?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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