use rust_sodium::crypto::box_::{
NONCEBYTES as ASYM_NONCE_LEN, PUBLICKEYBYTES as ASYM_PUBLIC_KEY_LEN,
SECRETKEYBYTES as ASYM_SECRET_KEY_LEN,
};
use rust_sodium::crypto::secretbox::{KEYBYTES as SYM_KEY_LEN, NONCEBYTES as SYM_NONCE_LEN};
use rust_sodium::crypto::sign::{
PUBLICKEYBYTES as SIGN_PUBLIC_KEY_LEN, SECRETKEYBYTES as SIGN_SECRET_KEY_LEN,
};
use safe_nd::XOR_NAME_LEN;
use threshold_crypto::PK_SIZE as BLS_PUBLIC_KEY_LEN;
pub type AsymPublicKey = [u8; ASYM_PUBLIC_KEY_LEN];
pub type AsymSecretKey = [u8; ASYM_SECRET_KEY_LEN];
pub type AsymNonce = [u8; ASYM_NONCE_LEN];
pub type SymSecretKey = [u8; SYM_KEY_LEN];
pub type SymNonce = [u8; SYM_NONCE_LEN];
pub type BlsPublicKey = [u8; BLS_PUBLIC_KEY_LEN];
pub type SignPublicKey = [u8; SIGN_PUBLIC_KEY_LEN];
pub type SignSecretKey = [u8; SIGN_SECRET_KEY_LEN];
pub type XorNameArray = [u8; XOR_NAME_LEN];