Replacements for md5
crypto (native)
If you're using the md5 package, consider using a stronger algorithm where possible. If you must keep MD5 for compatibility, Node.js provides a native alternative via the crypto module.
ts
import crypto from 'node:crypto'
import md5 from 'md5'
md5('message')
crypto.createHash('md5').update('message').digest('hex')