8 lines
215 B
JavaScript
8 lines
215 B
JavaScript
// @ts-ignore
|
|
import webcrypto from 'isomorphic-webcrypto/src/react-native'
|
|
|
|
webcrypto.ensureSecure()
|
|
|
|
export const subtle = webcrypto.subtle
|
|
export const getRandomValues = webcrypto.getRandomValues.bind(webcrypto)
|