browserify / crypto-browserify

partial implementation of node's `crypto` for the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support md4

d3lm opened this issue · comments

I am running into an issue where I need to support md4 hashes. Would it be an option to use this package to support md4?

in the short term you probably want to use that package directly, I'm not sure if we want to add it in, and if we did how quickly it would go in

How can I add this only for my use case? Can you help me out here? What do I need to do to support md4 in my case?

BTW, thanks for your quick response, I really appreciate it.

you can just directly require and use that library you linked to

The problem is I am using a lib that uses the 'crypto' lib and passes in md4 as an algorithm and I have no control of that. So I am not using crypto myself but rather it's used by another lib which requires md4 to be supported.

A polyfill may help with this particular usage case in your webpack config.

Something tells me that this could in fact go in relatively easily in a PR (after #200 and #201, of course), however, the usage case, as I described before, would work best if it was polyfilled in your webpack config. It depends on the usage case.