Skip to content

Replace crypto-js with node:crypto #2494

Open
@dplewis

Description

@dplewis

New Feature / Enhancement Checklist

Current Limitation

crypto-js and react-native-crypto-js are deprecated. crypto-js is listen add as an optional dependency because of the issues.

Feature / Enhancement Description

These should replaced with node:crypto and react-native-quick-crypto respectfully.

quick-crypto is a well maintained drop in replacement for node:crypto. node:crypto is easily polyfilled for browsers

Example Use Case

This will also help with finishing rollup / vite support #2425

Alternatives / Workarounds

Build our own isomorphic CryptoController without dependencies or document how a user could create there own CryptoController

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions