Just passwords to generate or to derive a key, but we can also use the rent command to generate the key and to use the hyphen K, uppercase K. To insert the key into our cipher algorithm. We use open SSL rent command. And let's choose a 32 hexadecimal key. And there it is. Now let's use the echo command write out some text And we'll grep it into open SSL using a yes 128 bit key. Now remember, we have created a key that is 32 hex decimal characters.
Each hexadecimal character is four bit, doubling up with 32 makes up a 128 bit key. We also need to add up the IV, the initialization vector. And there it is. Now let's encode it using base 64 to make it much more clearer