#![cfg_attr(test, allow(deprecated))]
#[deprecated(
since = "0.4.0",
note = "ARC4 module is deprecated and will be removed in v0.5.0. Use salsa20 module instead."
)]
pub mod arc4;
pub mod error;
pub mod key_service;
pub mod keys;
pub mod salsa20;
pub use error::CryptoError;
pub use key_service::KeyService;
#[allow(deprecated)]
#[deprecated(
since = "0.4.0",
note = "ARC4 decryption is deprecated and will be removed in v0.5.0. Use decrypt_salsa20 instead."
)]
pub use arc4::decrypt_arc4;
#[allow(deprecated)]
#[deprecated(
since = "0.4.0",
note = "ARC4 encryption is deprecated and will be removed in v0.5.0. Use encrypt_salsa20 instead."
)]
pub use arc4::encrypt_arc4;
pub use salsa20::{decrypt_salsa20, encrypt_salsa20};
pub type Result<T> = std::result::Result<T, CryptoError>;