Perform AES256 encryption on a string using command
Answer:
To encrypt a string using AES256, you can use the openssl tool.
# echo -n 'apple' | openssl enc -aes256 -k password -nosalt -iv 0 -a -p
key=1F3870BE274F6C49B3E31A0C6728957F0628DEF3179C824405825F85F5527096
iv =00000000000000000000000000000000
PMcE/8RE+RLRlQWT5tlLWA==