Skip to content

Base64 encryption and decryption error when special characters #4

Description

@MyPuppet

When I use encode to encrypt "Ö", the result is "T8yI", and when I use decode to decrypt, the value becomes "Ö".

We can't see the problem with our eyes, I'll use an example to prove this wrong.

截屏2022-08-17 10 52 59

截屏2022-08-17 10 53 22

截屏2022-08-17 10 54 55

截屏2022-08-17 10 55 03

When using base64encode, the encoded result is "1g==", and the decrypted result is also correct, you can use this as a reference.

Thank you for your efforts, overall this is a great project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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