Files
DefinitelyTyped/md5/md5.d.ts
arcdev1 bb7f67e2e1 add type defintions for correct md5 module (per npm) (#9347)
* add type defintions for correct md5 module (per npm)

* Corrected md5 to CybozuLabs-md5

* added typings for md5 (npm version)
2016-05-21 08:32:51 -07:00

17 lines
539 B
TypeScript

// Type definitions for md5 v2.1.0
// Project: https://github.com/pvorb/node-md5
// Definitions by: Bill Sourour <https://github.com/arcdev1>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'md5' {
/**
* js function for hashing messages with MD5
*
* @param {(string | Buffer)} message - a string or buffer to hash
* @returns {string} the resultant MD5 hash of the given message
*/
function main(message: string | Buffer): string;
export = main;
}