Skip to content

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

@tanapaydin

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.
}
)

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