{"library":"xml-encryption","type":"library","category":null,"description":"xml-encryption is a Node.js library that provides a W3C XML Encryption implementation. The current stable version is 4.0.0, released recently on March 31, 2026, indicating active development and maintenance. This library facilitates the encryption and decryption of XML documents, supporting various algorithms like AES-GCM, AES-CBC (with caveats), and RSA-OAEP-MGF1P for key transport. A key differentiator is its explicit handling of insecure cryptographic algorithms, defaulting to disallow them and providing warnings when they are used. Since version 2.0.0, it has transitioned to using native Node.js crypto functions, reducing external dependencies like `node-forge`. It focuses specifically on the XML Encryption standard, offering a robust solution for securing XML data in Node.js environments.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","xml","encryption","xmlenc"],"last_verified":"Wed May 27","install":[{"cmd":"npm install xml-encryption","imports":["const xmlenc = require('xml-encryption');","xmlenc.encrypt(content, options, callback);","xmlenc.decrypt(xml, options, callback);"]},{"cmd":"yarn add xml-encryption","imports":[]},{"cmd":"pnpm add xml-encryption","imports":[]}],"homepage":null,"github":"https://github.com/auth0/node-xml-encryption","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/xml-encryption","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/xml-encryption/compatibility"}}