Skip to content

encryption implementation in UtilsEncryption #645

Open

Description

@Saab20

Is your feature request related to a problem? Please describe:
The current encryption implementation in UtilsEncryption uses PBKDF2WithHmacSHA1 to derive the encryption key from a passphrase. SHA-1 is no longer considered secure due to known vulnerabilities and successful collision attacks (e.g., SHAttered). Although PBKDF2 mitigates some of this risk via high iteration counts, using SHA-1 is discouraged in modern cryptographic applications.

Describe the solution you'd like:
Update the algorithm from:

private static final String PBKDF2_ALGORITHM = "PBKDF2WithHmacSHA1";

to change private static final String PBKDF2_ALGORITHM = "PBKDF2WithHmacSHA256";

Activity

  1. changed the title [-]feat:[/-] [+] encryption implementation in UtilsEncryption[/+] on May 29, 2025
  2. added
    bug/fix
    platform: android
    and removed
    feature
    on Nov 25, 2026
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

    bug/fixplatform: android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions