Skip to content

Commit

Permalink
import crypto from isomorphic
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdul Haseeb committed Aug 5, 2021
1 parent c4b2a18 commit d85a544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict'

import { randomBytes } from 'react-native-randombytes'
import crypto from 'isomorphic-webcrypto'
exports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = randomBytes

const crypto = require('isomorphic-webcrypto')

(async () => {
// Only needed for crypto.getRandomValues
Expand Down

0 comments on commit d85a544

Please sign in to comment.