Tag: RSA
All the articles with the tag "RSA".
File Encryption with RSA in OpenSSL
Breaking down RSA keys in OpenSSL at the byte level: generating a key pair, parsing the ASN.1 structure of private and public keys, then encrypting and decrypting a file with pkeyutl.
Creating a Digital Signature with RSA in OpenSSL
Creating an RSA digital signature in OpenSSL step by step: hashing a file with SHA-256, signing with the private key, verifying with the public key, and inspecting the recovered DigestInfo ASN.1 structure.
Wysi Prime — osu!gaming CTF 2024
Recovering RSA primes made only of the digits 2 and 7 with a breadth-first search, then decrypting the ciphertext in the crypto/wysi-prime challenge from osu!gaming CTF 2024.
ROSSAU — osu!gaming CTF 2024
Factoring a small RSA modulus with factordb, computing the private exponent, then looking up the player whose osu! user ID matches it to recover the flag.