Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cryptographic utilities and testing for cross-platform compatibility #7

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

RomanTsisyk
Copy link
Owner

  • Added generateKey() method to AESEncryption for secure AES key generation.
  • Replaced android.util.Base64 with java.util.Base64 in RSAEncryption for JVM compatibility.
  • Fixed byte array comparisons in AES tests using assertArrayEquals.
  • Added Bouncy Castle as a provider for SHA256withRSA/PSS in DigitalSignature.
  • Improved DigitalSignature to handle unsupported algorithms gracefully.
  • Registered Bouncy Castle provider to support advanced cryptographic algorithms.
  • Enhanced test coverage for AES, RSA, and DigitalSignature modules.
  • Fixed test dependencies and ensured platform-independent testing.

@RomanTsisyk RomanTsisyk merged commit 6035820 into master Dec 4, 2024
2 checks passed
@RomanTsisyk RomanTsisyk deleted the add-new-unit-tests branch December 29, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant