When using openssl to encrypt a file, how would I create a key made up of specific letters?

I want to create a 128bit AES key made up of specific letters. I think I would need to use something like

openssl genrsa -aes128 -out privkey.pem

or

openssl genrsa -out privkey.pem

but I’m not sure how to make an AES … Continue reading When using openssl to encrypt a file, how would I create a key made up of specific letters?

Length of a stretched gnupg passphrase that is comparable in strength to an unstretched string of 256 random bits

Assume that we want to encrypt a file with gnupg using AES-256 as the encryption algorithm. (Hence, symmetric encryption.)

In this mode, gnupg requires a passphrase from the user. I understand that gnupg then derives from … Continue reading Length of a stretched gnupg passphrase that is comparable in strength to an unstretched string of 256 random bits