AGENT SKILL

crypto-asymmetric-digital-sign

Crypto Asymmetric Digital Sign.

License 许可
MIT
最近更新
2026-09-01
Stars
★ 0
Forks
0

01 前言 Front Matter

name
crypto-asymmetric-digital-sign
domain
cybersecurity
description
Crypto Asymmetric Digital Sign.

02 资源文件 1

03 SKILL.md 正文

-| | Security | 128-bit | 128-bit | 128-bit | | Public key size | 32 bytes | 384 bytes | 64 bytes | | Signature size | 64 bytes | 384 bytes | 64 bytes | | Key generation | ~50 us | ~100 ms | ~1 ms | | Sign | ~70 us | ~5 ms | ~200 us | | Verify | ~200 us | ~200 us | ~500 us | | Deterministic | Yes | No (PSS) | No (unless RFC 6979) |

Key Properties

  • Deterministic: Same message + key always produces same signature
  • Collision-resistant: No separate hash function needed
  • Side-channel resistant: Constant-time implementation
  • Small keys: 32 bytes each (public and private)

Security Considerations

  • Ed25519 does not support key recovery from signatures
  • Verify the full message, not a hash (Ed25519 hashes internally)
  • Public keys must be validated before use (check for low-order points)
  • Private keys should be stored encrypted at rest
  • Ed25519 is not yet approved for all NIST use cases (Ed448 is preferred for federal)

Validation Criteria

  • [ ] Key pair generation produces valid Ed25519 keys
  • [ ] Signature verification succeeds for valid message
  • [ ] Signature verification fails for tampered message
  • [ ] Signature verification fails for wrong public key
  • [ ] Deterministic: same input produces same signature
  • [ ] File signing and verification works correctly
  • [ ] Performance meets or exceeds RSA-3072

04 同仓库更多 Skills