Computes the MD5 digest of a byte buffer (RFC 1321).
WebCrypto does not offer MD5, so this is a from-scratch implementation, verified against the RFC 1321 test suite. Used for the common algorithm=MD5 SIP digest path.
algorithm=MD5
The bytes to hash.
The 16-byte MD5 digest.
1.0.3
import { md5 } from 'edgeport/sip';md5(new TextEncoder().encode('abc')).length; // 16 Copy
import { md5 } from 'edgeport/sip';md5(new TextEncoder().encode('abc')).length; // 16
Computes the MD5 digest of a byte buffer (RFC 1321).
WebCrypto does not offer MD5, so this is a from-scratch implementation, verified against the RFC 1321 test suite. Used for the common
algorithm=MD5SIP digest path.