文本安全密码生成器
文本
安全密码生成器
制作支持密码强度评估、批量生成、加密本地保存、历史记录和导出的工具。
Prompt
请使用 HTML5、CSS3 和 JavaScript,并采用具备密码学强度的随机性,创建一个功能全面的安全密码生成器。构建直观的界面,并提供实时密码预览。允许自定义密码长度,并提供适用于不同安全级别的预设。包含字符类型开关(大写字母、小写字母、数字、符号),并附带视觉指示器。实现高级强度计,显示熵位数和预估破解时间。添加一键复制按钮,带有复制确认提示,并自动清空剪贴板。创建密码保险库功能,使用加密的 localStorage 存储。支持同时生成多个密码,并提供批量选项。保留密码历史记录,并显示生成时间戳。使用标准公式计算并显示熵值。提供便于记忆的密码生成选项(基于短语、基于模式)。包含导出功能,并为密码列表提供加密选项。Create a comprehensive secure password generator using HTML5, CSS3 and JavaScript with cryptographically strong randomness. Build an intuitive interface with real-time password preview. Allow customization of password length with presets for different security levels. Include toggles for character types (uppercase, lowercase, numbers, symbols) with visual indicators. Implement an advanced strength meter showing entropy bits and estimated crack time. Add a one-click copy button with confirmation and automatic clipboard clearing. Create a password vault feature with encrypted localStorage storage. Generate multiple passwords simultaneously with batch options. Maintain a password history with generation timestamps. Calculate and display entropy using standard formulas. Offer memorable password generation options (phrase-based, pattern-based). Include export functionality with encryption options for password lists.
使用建议
可先生成界面与随机密码逻辑,再逐项验证安全相关功能。