refactor: rearrange code

This commit is contained in:
鲁树人
2024-09-14 01:33:23 +01:00
parent af965ee0cc
commit 7b283a5a14
2 changed files with 6 additions and 5 deletions

View File

@@ -1,16 +1,15 @@
use crate::kwm_v1::CipherV1;
use anyhow::Result;
use byteorder::{ReadBytesExt, LE};
use std::io::{Cursor, Read};
use thiserror::Error;
use umc_qmc::QMCv2Cipher;
pub mod des;
pub mod kwm_v1;
pub use umc_qmc::QMCv2Cipher as CipherV2;
use crate::kwm_v1::CipherV1;
use thiserror::Error;
use umc_qmc::QMCv2Cipher;
/// Commonly used secret key for Kuwo services.
pub const SECRET_KEY: [u8; 8] = *b"ylzsxkwm";