Nimony

The road to Nim 3

rsa

nimony/lib/std/crypto/rsa.nim

RSA signature VERIFICATION (RFC 8017): PKCS #1 v1.5, which most certificate chains are signed with, and PSS, which TLS 1.3 demands for an RSA CertificateVerify.

Only the public operation lives here, so std/crypto/bignum's variable-time arithmetic is fine.