Skip to content

Commit 859113f

Browse files
committed
Migrate RSA encryption to SHA-1 OAEP for Android KeyStore compatibility
- Change RSA key size from 4096 to 2048 bits - Change OAEP hash from SHA-256 to SHA-1 for device compatibility - Add explicit OAEPParameterSpec for consistent cross-provider behavior - Refactor getAESKey() into helper methods for readability - Replace fragile string matching with direct PKCS1 migration attempt
1 parent f992aea commit 859113f

File tree

2 files changed

+252
-156
lines changed

2 files changed

+252
-156
lines changed

0 commit comments

Comments
 (0)