Skip to content

Rsa Encrypt RAW get wrong result #2066

Description

@UndeadFu

when I use rsa encrypt with "RAW", the result is wrong when the input contains no-ascii data.
I don't know if it's nesessary to "encodeUtf8(input)", but the bug fixed when i remove it.

but when i want to pull a request, i cannot pass the unit test.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions