I am encrypting the same message with the same cypher and the same password on different machines, but the result is each time totally different. How can I decrypt such a file on another machine then?
A minimal example:
echo "testmessage" > testfile
echo "mypwd" > pwdfile
openssl aes-256-cbc -a -A -salt -in testfile -out out -k pwdfile
cat out && echo
gives:
U2FsdGVkX1/vqur0facod4sMZs+ZT3i3yHe+DwAnV7o=
and
U2FsdGVkX18c6qnuSRrslmnneuDWAH1cp0UC4QyO5PI=
and other variants on still other machines
EDIT
I tried other cyphers as well (bf, cast, des3,...), only base64
resulted in the same result on other machines. Yet I would need to decrypt an aes-256-cbc
message encrypted on another machine.