How to use expo-crypto - 2 common examples

To help you get started, we’ve selected a few expo-crypto examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / docs / static / examples / unversioned / crypto.js View on Github external
(async () => {
      const digest = await Crypto.digestStringAsync(
        Crypto.CryptoDigestAlgorithm.SHA256,
        'Github stars are neat 🌟'
      );
      console.log('Digest: ', digest);
      /* Some crypto operation... */
    })();
    runCrypto();
github expo / expo / docs / static / examples / unversioned / crypto.js View on Github external
(async () => {
      const digest = await Crypto.digestStringAsync(
        Crypto.CryptoDigestAlgorithm.SHA256,
        'Github stars are neat 🌟'
      );
      console.log('Digest: ', digest);
      /* Some crypto operation... */
    })();
    runCrypto();

expo-crypto

Expo universal module for crypto

MIT
Latest version published 2 months ago

Package Health Score

95 / 100
Full package analysis