Graham
b37e4d0d0b
Use alternatives for most methods deprecated in Kotlin 1.5
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1e3257acf7
Use consistent case for Unicode escapes in the Whirlpool S-box
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
c70cfcfb30
Add ByteBuf.whirlpool() extension method
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f143eef142
Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ce5b76ef0f
Rename dev.openrs2 package to org.openrs2
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9aaa095b02
Use DIGESTBYTES to set the size of the output ByteArray
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
380cc95d31
Make DIGESTBYTES public
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
232ba32bbd
Enable explicit API mode
...
This already caught some cases of public members that should have been
private and one case where the inferred type was too specific.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1eb423fbf6
Mark sbox as const
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1a0b7c1d33
Add Whirlpool implementation
...
This is a fairly direct port of the public domain Java reference
implementation to Kotlin.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago