I am using openssl version 3.0.0.7 and running following DES command for encryption. Running this command on windows10 command prompt. input file secret_messge.txt
consists of following
hi there, the message is secret, hi there
and command used is below
openssl enc -des-ecb -e -in secret_message.txt -out simple-cipher-message.bin -K b2a2d62eab19114f
Error setting cipher DES-ECB
6C0C0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto\evp\evp_fetch.c:346:Global default library context, Algorithm (DES-ECB : 4), Properties ()
DES encryption is considered legacy and is no longer available by default in the "enc" command. To use it you would need to load the legacy provider, e.g.
openssl enc -des-ecb -e -in secret_message.txt -out simple-cipher-message.bin -K b2a2d62eab19114f -provider legacy -provider default
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With