Move the EncryptedData struct to a dedicated module

This commit is contained in:
Rodolphe Bréard 2024-03-17 14:45:18 +01:00
parent 5803e2971d
commit e6f7167525
6 changed files with 10 additions and 9 deletions

View file

@ -1,4 +1,4 @@
use crate::cipher_box::EncryptedData;
use crate::encrypted_data::EncryptedData;
use crate::error::Result;
use chacha20poly1305::aead::{Aead, KeyInit, Payload};
use chacha20poly1305::{Key, XChaCha20Poly1305, XNonce};