Learn to utilize the crypto Web APIs at the edge.
In this example, you'll see how you can utilize the crypto
Web APIs with Edge Middleware and Edge Functions.
Working example: crypto.vercel.sh
Includes:
crypto.randomUUID
crypto.getRandomValues
crypto.subtle
crypto.subtle
https://edge-functions-crypto.vercel.app
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Download this repository via git:
git clone https://github.com/vercel/examples.git
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/vercel/examples/tree/main/edge-middleware/crypto crypto # or yarn create next-app --example https://github.com/vercel/examples/tree/main/edge-middleware/crypto crypto
Deploy it to the cloud with Vercel (Documentation).
Learn to utilize the crypto Web APIs at the edge.
In this example, you'll see how you can utilize the crypto
Web APIs with Edge Middleware and Edge Functions.
Working example: crypto.vercel.sh
Includes:
crypto.randomUUID
crypto.getRandomValues
crypto.subtle
crypto.subtle
https://edge-functions-crypto.vercel.app
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Download this repository via git:
git clone https://github.com/vercel/examples.git
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/vercel/examples/tree/main/edge-middleware/crypto crypto # or yarn create next-app --example https://github.com/vercel/examples/tree/main/edge-middleware/crypto crypto
Deploy it to the cloud with Vercel (Documentation).