Implements Ed25519 digital signatures: generates key pairs, signs/verifies messages and files for documents, code signing, API auth. Compares performance vs RSA/ECDSA.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity-skills-zh:implementing-digital-signatures-with-ed25519The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Ed25519 是一种使用 Edwards 曲线 Curve25519 的高性能数字签名(digital signature)算法。它以 64 字节签名和 32 字节密钥提供 128 位安全性,相比 RSA 和 ECDSA 具有显著优势,包括确定性签名(无需随机 nonce)、抗侧信道攻击以及快速验证。本技能涵盖为文档签名、代码签名和 API 认证实现 Ed25519。
Ed25519 是一种使用 Edwards 曲线 Curve25519 的高性能数字签名(digital signature)算法。它以 64 字节签名和 32 字节密钥提供 128 位安全性,相比 RSA 和 ECDSA 具有显著优势,包括确定性签名(无需随机 nonce)、抗侧信道攻击以及快速验证。本技能涵盖为文档签名、代码签名和 API 认证实现 Ed25519。
| 属性 | Ed25519 | RSA-3072 | ECDSA P-256 |
|---|---|---|---|
| 安全性 | 128 位 | 128 位 | 128 位 |
| 公钥大小 | 32 字节 | 384 字节 | 64 字节 |
| 签名大小 | 64 字节 | 384 字节 | 64 字节 |
| 密钥生成 | ~50 us | ~100 ms | ~1 ms |
| 签名 | ~70 us | ~5 ms | ~200 us |
| 验证 | ~200 us | ~200 us | ~500 us |
| 确定性 | 是 | 否 (PSS) | 否(除非 RFC 6979) |
npx claudepluginhub killvxk/cybersecurity-skills-zhImplements Ed25519 digital signatures for document signing, code signing, and API authentication. Includes key generation, signing, verification, and performance comparison with RSA and ECDSA.
Implements Ed25519 digital signatures for document signing, code signing, and API authentication. Includes key generation, signing, verification, and performance comparison with RSA and ECDSA.
Implements Ed25519 digital signatures in Python: generates key pairs, signs/verifies messages and files, builds code signing systems, compares with RSA/ECDSA.