Tag: OpenSSL
All the articles with the tag "OpenSSL".
File Encryption with AES in OpenSSL
A step-by-step guide to encrypting and decrypting files with AES-256-CBC in OpenSSL: generating a key and IV, PKCS#7 padding, deriving parameters from a password with PBKDF2, and inspecting the Salted__ file format.
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.