fix(core): update
This commit is contained in:
@ -1,8 +1,5 @@
|
||||
import * as plugins from './nodehash.plugins';
|
||||
|
||||
export const md5FromString = async (stringToHash: string) => {
|
||||
return plugins.crypto
|
||||
.createHash('md5')
|
||||
.update(stringToHash)
|
||||
.digest('hex');
|
||||
return plugins.crypto.createHash('md5').update(stringToHash).digest('hex');
|
||||
};
|
||||
|
Reference in New Issue
Block a user