Skip to content

sha256 does not accept non-english characters as key #2

Description

@tanapaydin

The following code does not work if we pick non-english characters within the key. For example if my key is 'aytaçşğ' the below code crashes. I should be able to pick unicode characters within the key.

ReactAES.sha256(key, 256).then(
hashOfPin => {
//do something with hashOfPin - maybe encrypt.
}
)

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