RSA 工具
使用 Web Crypto API 进行 RSA 密钥生成、加密、解密、签名和验证。免费、隐私优先、100% 纯客户端运行。
Local only
最近历史
暂无历史
使用方法
- 选择模式:生成、加密、解密、签名或验证。
- 选择密钥长度(1024/2048/4096)。
- 生成模式:复制密钥对。其他模式:粘贴密钥和输入。
- 复制或下载结果。
使用此工具的任务
生成 a Certificate Signing Request (CSR)
CSR contains 你的公共键 和 identity 信息, sent 到 CA 到 obtain signed TLS certificate. Learn 需要 fields 和验证处理. 任务
生成 RSA key pair and inspect self-signed certificate fields
Create RSA 键对 为 testing, 和理解结构的 self-signed X.509 certificate 为本地 development. 任务
Implement end-to-end 加密 (E2EE)
End-to-end 加密 ensures 仅 communicating parties 能够读取 messages — 否 intermediary 服务器 holds 解密关键. Learn hybrid 加密模式. 任务
Implement HSTS (HTTP Strict Transport Security)
HSTS forces browsers 到总是 use HTTPS 为你的 site, preventing 协议 downgrade attacks 和 SSL stripping. 任务
Implement mutual TLS (mTLS) 认证
mTLS requires 两者客户端和 服务器到 存在 certificates, providing strong bidirectional 认证无 passwords. 常见在 服务-到-服务和 零-trust architectures. 任务
Install TLS certificate 开你的服务器
之后 receiving signed certificate 从 CA, install 它具有正确链接 order 和验证部署具有 TLS handshake. 任务
Use JWT 具有 RSA signatures (RS256)
RS256 signs JWTs 具有 RSA-SHA256, providing asymmetric 验证 where 仅私有键 holder 能够 sign 但任何人具有公共键 能够验证. 任务
Enable OCSP stapling 为 faster TLS handshakes
OCSP stapling lets 服务器提供 fresh revocation 检查到 客户端期间 TLS handshake, avoiding separate round-trip 到 CA. 任务
常见问题
- 应该使用多大的密钥?
- 一般用途最低推荐 2048 位。4096 位提供更高的安全余量。1024 位不安全,仅用于遗留兼容。
- 我的数据会被上传到任何地方吗?
- 不会。所有 RSA 运算均在你的浏览器中使用 Web Crypto API 本地完成。