Skip to content

Error generating encryption key: [TypeError: Cannot read property 'pbkdf2' of null] #89

@shubh-neorox

Description

@shubh-neorox

in IOS I am able to genrate key by using this way
import Aes from "react-native-aes-crypto";
const generateKey = async (password, salt, cost, length) => Aes.pbkdf2(password, salt, cost, length, "sha256");

but in android I am unable to get it 
getting this error :"Error generating encryption key: [TypeError: Cannot read property 'pbkdf2' of null]"

react native version :0.74

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