Commit Graph

37 Commits

Author SHA1 Message Date
e011f75d36 [kgm] chore: use Box::new instead of from. 2024-09-16 20:42:34 +01:00
92a52c1565 [kgm] feat: add decipher self-test on startup 2024-09-15 23:53:07 +01:00
da806d7ad4 [kgm/ncm/kwm] refactor: improve performance for large file 2024-09-15 23:25:19 +01:00
fd73e8b9a3 [kgm] refactor #2: slightly improve performance 2024-09-15 22:20:18 +01:00
7b4464bacd [kgm] feat #2: basic kgm support 2024-09-15 22:15:32 +01:00
2222e7bc50 [kwm] refactor: rename cipher to decipher 2024-09-15 20:43:57 +01:00
1e1d642149 [kwm] fix: Bodian build issue 2024-09-15 16:34:10 +01:00
440df8a06b [kwm] fix: KWMv1 key generation 2024-09-15 16:20:54 +01:00
785b2f6f0d [kwm] fix: init QMCv2 with ekey 2024-09-15 16:20:39 +01:00
dad2d9c841 [kwm] fix: magic header detection 2024-09-15 16:19:42 +01:00
42f29abff3 [kwm] refactor: improve error display 2024-09-15 16:19:28 +01:00
07fe0263d2 [qmc] feat: add helper method to create QMCv2 Decipher from EKey 2024-09-15 16:18:48 +01:00
7502b310d2 refactor: ekey decrypt now return Vec<u8> instead. 2024-09-15 16:18:18 +01:00
6a56cc8433 [qmc2/rc4] fix: match QMC2 decoder logic 2024-09-15 15:41:19 +01:00
f75a3ccb34 [qmc2/rc4] refactor: create box of slice instead of convert later 2024-09-15 15:40:22 +01:00
6791dec745 [qmc2/rc4] fix: segment key calculation. 2024-09-15 13:51:03 +01:00
b1fcdb5895 [ncm] fix: header size report 2024-09-14 22:25:17 +01:00
10a491fa4b test: fix ncm test 2024-09-14 16:17:53 +01:00
208461e089 feat: add cli support for ncm 2024-09-14 16:16:20 +01:00
abd4549da3 fix: ncm decryption 2024-09-14 15:22:43 +01:00
493ed8bdb5 feat: basic ncm support 2024-09-14 14:56:39 +01:00
7b283a5a14 refactor: rearrange code 2024-09-14 01:33:23 +01:00
af965ee0cc chore: bump tc_tea version 2024-09-12 00:51:50 +01:00
3292ad51ea feat: added glue exports for kwm/qmc 2024-09-07 13:13:39 +01:00
e7d8231474 impl: kuwo cipher and bodian info 2024-09-06 23:03:28 +01:00
a9c7ba9fd4 refactor: unify qmc2 decrypt api 2024-09-06 00:52:13 +01:00
c4249226a2 feat: add ekey 2024-09-06 00:51:56 +01:00
e92dc08964 refactor: move base64 to shared utils package 2024-09-06 00:51:08 +01:00
15bfd296f0 feat: footer parser 2024-09-05 23:37:55 +01:00
0f1233b45a test: add more qmc_v1 test 2024-09-04 22:24:34 +01:00
1a282c0912 feat: qmc v2 map cipher 2024-09-04 19:13:03 +01:00
aa4c650ff0 chore: improve qmc v1 impl 2024-09-04 19:12:50 +01:00
4cb2532c25 fix: qmc2_rc4 impl 2024-09-04 19:01:49 +01:00
6f9ed3d9cb feat: implement qmc1 & qmc2 2024-09-04 01:12:20 +01:00
3f9d4b5084 build: experimental build with node package 2024-09-03 00:17:54 +01:00
d51cfae9c2 refactor: rename des_impl.rs 2024-09-02 21:11:17 +01:00
ff11a8186e init: it builds 2024-09-02 21:04:35 +01:00