Skip to content

Commit

Permalink
Use builtin Deno crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
denizdogan committed Jun 9, 2023
1 parent 3d9cbe5 commit b718b86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/driver/src/adapter.shared.deno.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { crypto } from "https://deno.land/[email protected]/crypto/mod.ts";

export async function randomBytes(size: number): Promise<Uint8Array> {
const buf = new Uint8Array(size);
return crypto.getRandomValues(buf);
Expand Down

0 comments on commit b718b86

Please sign in to comment.