Method 3: cat /dev/random | head -n 128 > sym_keyfile.key Method 2: cat /dev/urandom | head -n 128 > sym_keyfile.key 128, 192 or 256, affect encryption and decryption? Is is only time taken for encryption and decryption? Method 1: openssl rand 128 > sym_keyfile.key Now regarding generation of the symmetric key and asymmetric keys (mainly in Bash script) I have the following doubts.
I refer to this blog for hybrid encryption idea. symmetric for encryption big firmware file and asymmetric for encrypting symmetric key file. We are using Beaglebone Black based custom board, and want to use hybrid encryption for encrypting firmware file, i.e.