
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@webex/plugin-encryption
Advanced tools
Encryption plugin for the Cisco Webex JS SDK.
npm install --save @webex/plugin-encryption
This is a plugin for the Cisco Webex JS SDK . Please see our developer portal and the API reference for full details.
import Webex from 'webex/plugin-encryption';
const webex = Webex.init({
credentials: {
access_token
}
});
webex.once('ready', () => {
webex.cypher.register().then(() => {
try {
const attachmentURL = 'https:/myfileurl.xyz/zzz/fileid?keyUri=somekeyuri&JWE=somejwe';
const options = {
useFileService: false,
jwe: somejwe, // Provide the JWE here if not already present in the attachmentURL
keyUri: someKeyUri, // Provide the keyURI here if not already present in the attachmentURL
};
const decryptedFileBuf = await webex.cypher.downloadAndDecryptFile(attachmentURL, options);
// Do something with the decrypted file buffer
} catch (error) {
// Handle error
}
}).catch((err) => {
// Handle error
});
});
webex.cypher.deregister().then(() => {
// Do deregistration at your App's teardown
});
To use webpack-dev-server
to load this package, run yarn run samples:serve
.
Files placed in the docs/samples/plugin-encryption
folder will be served statically.
Files in the src/@webex/plugin-encryption
folder will be compiled, bundled, and served as a static asset at encryption.js
inside that directory.
This package is maintained by Cisco Webex for Developers.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
This project is licensed under the Cisco General Terms - see the LICENSE for details.
© 2016-2025 Cisco and/or its affiliates. All Rights Reserved.
FAQs
Encryption plugin for the Cisco Webex JS SDK
The npm package @webex/plugin-encryption receives a total of 108 weekly downloads. As such, @webex/plugin-encryption popularity was classified as not popular.
We found that @webex/plugin-encryption demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.