Commit Graph

42 Commits (98d25539b99895158fe8a496a4b5419ec19b03b8)

Author SHA1 Message Date
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 5 years ago
Graham 7218855eb7 Fix en/decryption of XTEA messages not a multiple of the block size 5 years ago
Graham c3715d7320 Add useTempFile extension methods 5 years ago
Graham 8370ad104e Write files atomically 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
Graham 0c76c610bd Convert Guice modules to objects 5 years ago
Graham e6a92ea0aa Switch to FHS-style layout 5 years ago
Graham 177326221f Move cryptographic code to a separate module 5 years ago