@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 8 lines 260 Bytes
Raw
1 import * as Crypto from "expo-crypto";
2
3 export const uuidv4 = () => Crypto.randomUUID();
4
5 export const randomHex = (byteLength: number): string =>
6 Array.from(Crypto.getRandomBytes(byteLength), (byte) => byte.toString(16).padStart(2, "0")).join(
7 "",
8 );