Skip to content

cry/md5.js and cry/sha256.js do not work in browser? #6

@hilbix

Description

@hilbix

I had trouble including those beasts. As a module. And not as a module. OTOH cry/md5c.js and cry/sha256c.js work. However not as a module, too.

I am currently undecided if this is a bug, a feature or just some incompatibility. NodeJS seems to be happy with both. For unknown reason (looks like require is a declared variable there, because we are 'use strict').

However I put it as a bug. Because it would be good to be able to load them as a module, which is not implemented in the *c.js variants and will never be implemented there.

But ..

.. this, again, means that I have to re-invent a wheel, because, AFAICS, babel leaves me without support here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions