UNPKG

md5-hex

Version:

Create a MD5 hash with hex encoding

10 lines (7 loc) 162 B
import blueimpMd5 from 'blueimp-md5'; export default function md5Hex(data) { if (Array.isArray(data)) { data = data.join(''); } return blueimpMd5(data); }