diff options
Diffstat (limited to 'std/node/crypto.ts')
-rw-r--r-- | std/node/crypto.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/std/node/crypto.ts b/std/node/crypto.ts index d27cab67d..0db8e2b13 100644 --- a/std/node/crypto.ts +++ b/std/node/crypto.ts @@ -1,4 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -export * from "./_crypto.ts"; -import * as m from "./_crypto.ts"; -export default m; +import { default as randomBytes } from "./_crypto/randomBytes.ts"; +import { pbkdf2, pbkdf2Sync } from "./_crypto/pbkdf2.ts"; + +export default { randomBytes, pbkdf2, pbkdf2Sync }; +export { pbkdf2, pbkdf2Sync, randomBytes }; |