When I perform following action in terminal I get different decryption text compared to message showing that these keys map to unique cipher
openssl enc -des-ecb -in text.in -out cipher.txt -k '96508092'
openssl enc -d -des-ecb -in cipher.txt -out text.in -k '82514145'
But when I implement it in programming using <openssl/des.h>
, Crypto.cipher, pyDes I got same decrypted text. I found why I get same text and it is because these 8 byte keys map to a unique 7 byte key 0x3832343134313401. Refer to my previous question Why can I encrypt data with one DES key and successfully decrypt with another?
My question is: how is it implemented on OpenSSL terminal commands differently compared to mentioned libraries that it could map these 8 byte keys to unique cipher?