element-hq / element-hq/element-android

Use char[] to handle passwords instead of String

Open
#769 0 comments 0 reactions 0 assignees View on GitHub
Security
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

As explain [here](https://stackoverflow.com/questions/8881291/why-is-char-preferred-over-string-for-passwords), it's more secure to avoid using String to carry password because we cannot remove them from memory on demand. So we should use CharArray.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.