From 32bc2685945eed0609d46304aacc13e35dbf52f1 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Sun, 28 Apr 2024 17:55:22 -0700 Subject: [PATCH] Update crytpo module package structure --- .../kotlin/net/agorise/shared/crypto/{crc => }/Crc32.kt | 2 +- .../kotlin/net/agorise/shared/crypto/{crc => }/Crc32Test.kt | 2 +- .../kotlin/net/agorise/shared/stargate/mnemonics/Mnemonics.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/{crc => }/Crc32.kt (96%) rename shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/{crc => }/Crc32Test.kt (96%) diff --git a/shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/crc/Crc32.kt b/shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/Crc32.kt similarity index 96% rename from shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/crc/Crc32.kt rename to shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/Crc32.kt index fd4484e..3d2b2a1 100644 --- a/shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/crc/Crc32.kt +++ b/shared/crypto/src/commonMain/kotlin/net/agorise/shared/crypto/Crc32.kt @@ -1,4 +1,4 @@ -package net.agorise.shared.crypto.crc +package net.agorise.shared.crypto /** * Provides functionality to calculate CRC-32 checksums. diff --git a/shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/crc/Crc32Test.kt b/shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/Crc32Test.kt similarity index 96% rename from shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/crc/Crc32Test.kt rename to shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/Crc32Test.kt index 840609e..ee0aff4 100644 --- a/shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/crc/Crc32Test.kt +++ b/shared/crypto/src/commonTest/kotlin/net/agorise/shared/crypto/Crc32Test.kt @@ -1,4 +1,4 @@ -package net.agorise.shared.crypto.crc +package net.agorise.shared.crypto import kotlin.test.Test import kotlin.test.assertEquals diff --git a/shared/stargate/src/commonMain/kotlin/net/agorise/shared/stargate/mnemonics/Mnemonics.kt b/shared/stargate/src/commonMain/kotlin/net/agorise/shared/stargate/mnemonics/Mnemonics.kt index 107771e..4ed891c 100644 --- a/shared/stargate/src/commonMain/kotlin/net/agorise/shared/stargate/mnemonics/Mnemonics.kt +++ b/shared/stargate/src/commonMain/kotlin/net/agorise/shared/stargate/mnemonics/Mnemonics.kt @@ -3,7 +3,7 @@ package net.agorise.shared.stargate.mnemonics import dev.whyoleg.cryptography.bigint.BigInt import dev.whyoleg.cryptography.bigint.decodeToBigInt import io.ktor.utils.io.core.toByteArray -import net.agorise.shared.crypto.crc.Crc32 +import net.agorise.shared.crypto.Crc32 /** * Provides functionality to create and validate mnemonics.