(bytes: Uint8Array)
| 14 | const counting = SecureRandom.make((size) => Uint8Array.from({ length: size }, (_, i) => i & 0xff)) |
| 15 | |
| 16 | const hex = (bytes: Uint8Array) => Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("") |
| 17 | const uuidString = (bytes: Uint8Array) => hex(bytes).replace(/^(.{8})(.{4})(.{4})(.{4})/, "$1-$2-$3-$4-") |
| 18 | const isStrictlyIncreasing = (ids: ReadonlyArray<string>) => ids.every((id, i) => i === 0 || ids[i - 1] < id) |
| 19 |
no test coverage detected