Skip to content

Commit e7d418f

Browse files
committed
refactor: change AES key and IV constants from public to private scope in encryption module
1 parent 8bc5e67 commit e7d418f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

post-compute/src/compute/encryption.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ use sha3::{Digest, Sha3_256};
1212
use std::{fs, path::Path};
1313

1414
/// 256-bit key (32 bytes)
15-
pub const AES_KEY_LENGTH: usize = 32;
15+
const AES_KEY_LENGTH: usize = 32;
1616
/// 128-bit IV (16 bytes) same as the AES block size
17-
pub const AES_IV_LENGTH: usize = 16;
17+
const AES_IV_LENGTH: usize = 16;
1818

1919
/// Encrypts a data file using hybrid encryption (AES-256-CBC + RSA-2048).
2020
///

0 commit comments

Comments
 (0)