openssl "hex string is too short, padding with zero bytes to length"
Issue
-
When encryption with
openssl
,hex string is too short, padding with zero bytes to length
warning displayed. What does it mean?# echo -n 'abcde' | openssl enc -e -aes256 -base64 -pbkdf2 -iter 100000 -S 1234 -salt -k VERYLONGPASSWORD hex string is too short, padding with zero bytes to length (omit)
Environment
- Red Hat Enterprise Linux 8
- openssl
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.