[openssl-users] big endian vs little endian

Walter H. Walter.H at mathemainzel.info
Sun Dec 18 19:55:42 UTC 2016


On 18.12.2016 17:21, sahorwitz wrote:
> I am obviosly a newbie and missing something. How then do I encrypt the file
> on one machine (little endian), transmit it to another machine (big endian)
> and decrypt it there?
>
>
>
similar to this:

encrypt
openssl enc -e -in file -out encryptfile -aes-256-gcm

decrypt
openssl enc -d -in encryptfile -out file -aes-256-gcm

can someone explain why I get the following output

enter aes-256-gcm decryption password:
bad decrypt

but the file is correctly decrypted

I'm using latest openssl rpm package from CentOS 6



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3827 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20161218/88b73120/attachment.bin>


More information about the openssl-users mailing list