53 Commits (2b720af6e5b905f411781f71c7a78baa9133634f)

Author SHA1 Message Date
Graham 03e6c3dd81 Annotate crypto methods with @Jvm{Overloads,Static} 3 years ago
Graham cf6e7cf8e7 Add methods for reading RSA keys from memory 3 years ago
Graham 7eae597892 Move RsaKeyProvider to the config module 4 years ago
Graham b37e4d0d0b Use alternatives for most methods deprecated in Kotlin 1.5 4 years ago
Graham 9e8d1fca1c Use type-safe project accessors 4 years ago
Graham 6498d39306 Add Gradle 7 version catalog 4 years ago
Graham 3d09c4d90a Make XteaKey a data class 4 years ago
Graham 31db959a46 Add XteaKeyDeserializer 4 years ago
Graham 359891c01e Convert all test objects to classes 4 years ago
Graham 5e6afb88f6 Improve RSA method naming 4 years ago
Graham 98d25539b9 Combine RSA encrypt and decrypt methods into a single crypt method 4 years ago
Graham ed7eb10411 Relax isPrivate checks in the encrypt/decrypt methods 4 years ago
Graham e9e7b7848d Add constant for the RSA magic byte 4 years ago
Graham 46b311c5ad Add XteaKey Jackson serializer 4 years ago
Graham f1c3c65811 Use upper case hex digits in golden ratio constant 4 years ago
Graham 1e3257acf7 Use consistent case for Unicode escapes in the Whirlpool S-box 4 years ago
Graham f90b9df505 Replace Paths.get() with Path.of() 4 years ago
Graham c70cfcfb30 Add ByteBuf.whirlpool() extension method 4 years ago
Graham 6f815b6334 Move return outside try block 4 years ago
Graham a86f000f88 Add StreamCipher interface and a NopStreamCipher implementation 4 years ago
Graham 76977303b2 Add shorthand methods for creating ByteBufs from ByteArrays and Strings 4 years ago
Graham f143eef142 Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin 4 years ago
Graham ce5b76ef0f Rename dev.openrs2 package to org.openrs2 4 years ago
Graham d755d486d6 Add initial cache and XTEA key archiving service 4 years ago
Graham 0e7e8f2d7d Make the individual components of an XteaKey public 4 years ago
Graham 2c7abdc7ff Use bufferedReader() extension method 4 years ago
Graham 9aaa095b02 Use DIGESTBYTES to set the size of the output ByteArray 4 years ago
Graham 380cc95d31 Make DIGESTBYTES public 4 years ago
Graham 192d5b9e8d Resolve inspections 4 years ago
Graham 232ba32bbd Enable explicit API mode 4 years ago
Graham e7ad4b92ff Group test files by test 4 years ago
Graham 3f59e1764c Store individual XteaKey components separately 4 years ago
Graham 1eb423fbf6 Mark sbox as const 4 years ago
Graham 95c97b8399 Add XteaKey inline class with ZERO "constant" and isZero method 4 years ago
Graham ce4de919b8 Use infix version of shl 4 years ago
Graham 1a0b7c1d33 Add Whirlpool implementation 4 years ago
Graham ba67f32d42 Format XteaTest 4 years ago
Graham e0708458f9 Add use extension method for releasing reference-counted objects 4 years ago
Graham 4da1c5c3cf Fix XTEA en/decryption if the index is not a multiple of the block size 4 years ago
Graham 7218855eb7 Fix en/decryption of XTEA messages not a multiple of the block size 4 years ago
Graham c3715d7320 Add useTempFile extension methods 4 years ago
Graham 8370ad104e Write files atomically 4 years ago
Graham ea82565cd6 Update Bouncy Castle 5 years ago
Graham 35fea8f293 Remove redundant substring() call 5 years ago
Graham 676be4a0cb Add XTEA implementation 5 years ago
Graham 7fc8c4e078 Add ISAAC cipher implementation 5 years ago
Graham ccf7056a93 Use private companion objects where possible 5 years ago
Graham 2f3cdca12d Reduce use of temporary files 5 years ago
Graham 3c051fe8c1 Rename private.key to game.key 5 years ago
Graham ed052c783b Use cache path and signer name from the config file 5 years ago