Skip to content

Decrypted jpg file can't open #1

@lutsifer

Description

@lutsifer

Hello,

I am trying to write myself "simple" code to encrypt/decrypt jpg images using createCipheriv(). I really stuck on it for 3 days in a row, so I decided to test ready lib and eventually take a look where I am wrong...
So I installed yours cli and guess... it did the same problem as I had three days in a row - the decrypted image won't open! It gives on MAC error message: "Error 3: Unsupported image format".

Any idea what is wrong with this? I really have no idea...

how to reproduce: paste any jpg image, encrypt it (it will give success), decrypt it, it will give you success again, however, the jpg becomes unusable ....

Any help will be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions