marklogic
Version:
The official MarkLogic Node.js client API.
18 lines (15 loc) • 411 B
JavaScript
/*
* www-authenticate
* https://github.com/randymized/www-authenticate
*
* Copyright (c) 2013 Randy McLaughlin
* Licensed under the MIT license.
*/
/*
* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
const crypto= require('crypto');
function md5(s) {
return crypto.createHash('md5').update(s).digest('hex');
}
module.exports= md5;