mirror of
https://github.com/bower/bower.git
synced 2026-01-15 01:08:07 -05:00
8 lines
151 B
JavaScript
8 lines
151 B
JavaScript
var crypto = require('crypto');
|
|
|
|
function md5(contents) {
|
|
return crypto.createHash('md5').update(contents).digest('hex');
|
|
}
|
|
|
|
module.exports = md5;
|