6 lines
195 B
TypeScript
6 lines
195 B
TypeScript
import * as plugins from './nodehash.plugins.js';
|
|
|
|
export const md5FromString = async (stringToHash: string) => {
|
|
return plugins.crypto.createHash('md5').update(stringToHash).digest('hex');
|
|
};
|