This repository has been archived by the owner. It is now read-only.
Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make possible to get Buffer from crypto calls #3989
This allows to call this to get buffer:
var crypto = require('crypto'); var hash = crypto.createHash('sha1'); hash.update('test'); var buf = hash.digest('buffer'); // buf now contains <SlowBuffer a9 4a 8f ... bb d3>
Tests needed, I can write them next week, so busy now...