diff --git a/crypto/src/main/kotlin/org/openrs2/crypto/IsaacRandom.kt b/crypto/src/main/kotlin/org/openrs2/crypto/IsaacRandom.kt index 75f3e3cd..afc466f3 100644 --- a/crypto/src/main/kotlin/org/openrs2/crypto/IsaacRandom.kt +++ b/crypto/src/main/kotlin/org/openrs2/crypto/IsaacRandom.kt @@ -270,6 +270,6 @@ public class IsaacRandom : StreamCipher { private const val SIZEL = 8 private const val SIZE = 1 shl SIZEL private const val MASK = (SIZE - 1) shl 2 - private const val GOLDEN_RATIO = 0x9e3779b9.toInt() + private const val GOLDEN_RATIO = 0x9E3779B9.toInt() } } diff --git a/crypto/src/main/kotlin/org/openrs2/crypto/Xtea.kt b/crypto/src/main/kotlin/org/openrs2/crypto/Xtea.kt index 75b2fd43..183d9726 100644 --- a/crypto/src/main/kotlin/org/openrs2/crypto/Xtea.kt +++ b/crypto/src/main/kotlin/org/openrs2/crypto/Xtea.kt @@ -2,7 +2,7 @@ package org.openrs2.crypto import io.netty.buffer.ByteBuf -private const val GOLDEN_RATIO = 0x9e3779b9.toInt() +private const val GOLDEN_RATIO = 0x9E3779B9.toInt() private const val ROUNDS = 32 private const val BLOCK_SIZE = 8 private const val BLOCK_SIZE_MASK = BLOCK_SIZE - 1