close
Skip to content

bcryptjs fails on browser context #27

Description

@lewispham

I got the error Neither WebCryptoAPI nor a crypto module is available. Use bcrypt.setRandomFallback to set an alternative when I was trying to generate salt with bcryptjs. After taking a brief look at the source, I've found that global variable is actually not defined on browser context.

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