[-] Remove unnecessary beans

This commit is contained in:
Azalea
2024-02-22 22:37:07 -05:00
parent 64a27e5708
commit db1ffd5091
5 changed files with 6 additions and 27 deletions

View File

@@ -3,6 +3,8 @@ package icu.samnyan.aqua.sega.aimedb
import icu.samnyan.aqua.sega.util.ByteBufUtil
import io.netty.buffer.ByteBuf
import io.netty.buffer.Unpooled.copiedBuffer
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import java.nio.charset.StandardCharsets
import javax.crypto.Cipher
import javax.crypto.spec.SecretKeySpec
@@ -19,3 +21,5 @@ object AimeDbEncryption {
fun encrypt(src: ByteBuf) = copiedBuffer(enc.doFinal(ByteBufUtil.toAllBytes(src)))
}
val logger: Logger = LoggerFactory.getLogger(AimeDbEncryption::class.java)