forked from Cookies_Github_mirror/AquaDX
[-] Remove unnecessary beans
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user