1// src/core/api/crypto.ts 2 3import { globalRegistry } from "./registry.ts"; 4import type { CryptoNamespace } from "./types.ts"; 5 6// Import implementation 7import { md5HashSync } from "../hash.ts"; 8 9// Register crypto namespace 10globalRegistry.register("crypto", (): CryptoNamespace => { 11 return { 12 md5Hash: md5HashSync, 13 }; 14}); 15 16