fix key is not set bug
This commit is contained in:
parent
321146f6ac
commit
33a995e7dd
@ -154,7 +154,7 @@ pub struct AesEncryptor {
|
||||
impl AesEncryptor {
|
||||
pub fn new(key: Vec<u8>) -> Self {
|
||||
Self {
|
||||
key: Vec::new(),
|
||||
key,
|
||||
is_setted: true,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user