Rocky_Mountain_Vending/.pnpm-store/v10/files/2d/1051e423219227866c8a5969bf2a1dd8eca6a00f6aee0712f4d3d8bca547fb61bc91ce369bd2a8f8fe5453ec450c09a00cd9395b6e2a88588bbd65b561de73
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

6 lines
227 B
Text

import { toUint8Array } from "@smithy/util-utf8";
export const stringHasher = (checksumAlgorithmFn, body) => {
const hash = new checksumAlgorithmFn();
hash.update(toUint8Array(body || ""));
return hash.digest();
};