silverwolf-x's picture
download
raw
347 Bytes
import { connection } from 'next/server'
export default async function Page() {
await connection()
const arr = new Uint8Array(16)
crypto.getRandomValues(arr)
return (
<dl>
<dt>crypto.getRandomValues():</dt>
<dd>{arr.toString()}</dd>
<dt>crypto.randomUUID():</dt>
<dd>{crypto.randomUUID()}</dd>
</dl>
)
}

Xet Storage Details

Size:
347 Bytes
·
Xet hash:
3a983d99f1e66b88f7d9e97cdcc68b410af64547177dad233c045a105d19d9a5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.