@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
17 lines • 716 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
export class AeadAes256CbcHmacSha256Algorithm {
constructor(_dataEncryptionKey, _encryptionType) {
throw new Error("Client-side Encryption not supported in browser environment");
}
encrypt(_plainTextBuffer) {
throw new Error("Client-side Encryption not supported in browser environment");
}
decrypt(_cipherTextBuffer) {
throw new Error("Client-side Encryption not supported in browser environment");
}
}
export function randomBytes(_size) {
throw new Error("Client-side random generator not supported in browser environment");
}
//# sourceMappingURL=AeadAes256CbcHmacSha256Algorithm.js.map