mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-11-01 07:51:15 +00:00
Refactor: Convert RijndaelAES to pure Kotlin for KMP
- Translated `RijndaelAES.java` to Kotlin. - Removed JVM-specific `java.util.Arrays` dependency, utilizing Kotlin's `.fill()`. - Refactored C-style variable declarations, moving them closer to their usage scope for better Kotlin idiomatics. - Retained the original lookup tables (S-boxes) and bitwise logic to ensure the fallback software AES implementation remains cryptographically accurate.
This commit is contained in:
parent
cf0a767809
commit
a68efc8921
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user