Skip to content

Uncaught ReferenceError: Buffer is not defined #3

Description

@herrmayr

Hi!

Thank you for providing your package. I was just trying to implement it in a vuejs project, however, I run into the following error when calling the encrypt function:

Uncaught ReferenceError: Buffer is not defined
at xorEncrypt (secure-encrypt.js?v=20117135:45:55)
at hexEncrypt (secure-encrypt.js?v=20117135:65:60)
at encrypt (secure-encrypt.js?v=20117135:115:55)

What could the issue, and how can it be addressed?

Thank you!

Best,
Chris

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