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

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 );