Easy Prompt
代码能力代码进阶

客户端文件加密工具

使用HTML5、CSS3和JavaScript(Web Crypto API)构建一个客户端文件加密工具,支持拖放文件选择、进度指示、AES-256-GCM加密、PBKDF2密钥派生、多文件批量处理、密码强度强制执行、加密文件下载、解密界面、安全内存处理、详细日志、密钥导入导出及大文件流式加密。

提示词正文

复制后可直接粘贴到模型或内部评测工具。

Create a client-side file encryption tool using HTML5, CSS3, and JavaScript with the Web Crypto API. Build a drag-and-drop interface for file selection with progress indicators. Implement AES-256-GCM encryption with secure key derivation from passwords (PBKDF2). Add support for encrypting multiple files simultaneously with batch processing. Include password strength enforcement with entropy calculation. Generate downloadable encrypted files with custom file extension. Create a decryption interface with password verification. Implement secure memory handling with automatic clearing of sensitive data. Add detailed logs of encryption operations without storing sensitive information. Include export/import of encryption keys with proper security warnings. Support for large files using streaming encryption and chunked processing.

使用场景

保护敏感文件传输加密本地存储文件批量加密文档

参考输出

一个完整的单页应用,包含文件拖放区域、加密进展条、密码强度指示器,以及加密/解密功能按钮,输出加密后的文件下载链接。

评分维度

重点评估可执行性、事实准确性、边界控制和结构完整度。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词