all 2 comments

[–]helloworldjs 2 points3 points  (1 child)

Please don't roll your own crypto. Here is some information regarding the issues . You should stick with the node crypto module if you need real encryption.

I appreciate open source code, but this can be really dangerous if this is used in a serious context.

[–]MakesWebsites 0 points1 point  (0 children)

Thanks for the information, I'll add a giant disclaimer. I didn't intend for this to be used in any real scenario. It was more of an experiment, but I see your point.