/** * MD5, per RFC 1321. * * This exists only because Graph's HMAC scheme hashes the request body with MD5, and Web Crypto * does not implement MD5 — it is the one primitive `crypto.subtle` omits. Reaching for * `node:crypto` instead is what this replaces: even behind a dynamic import, bundlers resolve * the specifier statically, so a browser build of the package root failed with * `Could not resolve "node:crypto"`. Hashing here keeps the SDK free of Node built-ins and lets * HMAC run on edge runtimes. * * Not a general-purpose hash. MD5 is broken for anything security-bearing; here it is a body * digest that Graph specifies, and the signature protecting it is HMAC-SHA256. Delete this file * if Graph ever moves off MD5 — {@linkcode md5} has one caller. */ /** The 16-byte MD5 digest of a string, hashed as UTF-8. */ export declare function md5(text: string): Uint8Array;