Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/microsoft-authentication/src/node/crypto.ts')
-rw-r--r--extensions/microsoft-authentication/src/node/crypto.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/extensions/microsoft-authentication/src/node/crypto.ts b/extensions/microsoft-authentication/src/node/crypto.ts
new file mode 100644
index 00000000000..1b45ad993c3
--- /dev/null
+++ b/extensions/microsoft-authentication/src/node/crypto.ts
@@ -0,0 +1,7 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+import * as nodeCrypto from 'crypto';
+
+export const crypto: Crypto = nodeCrypto.webcrypto as any;