mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
refactor: use SYMMETRIC_KEY_ALGORITHM constant in symm_encrypt_message()
This commit is contained in:
@@ -406,7 +406,7 @@ pub async fn symm_encrypt_message(
|
||||
};
|
||||
let mut msg = msg.seipd_v2(
|
||||
&mut rng,
|
||||
SymmetricKeyAlgorithm::AES128,
|
||||
SYMMETRIC_KEY_ALGORITHM,
|
||||
AeadAlgorithm::Ocb,
|
||||
ChunkSize::C8KiB,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user