1// Copyright 2020 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
45//! WARNING: INSECURE CRYPTOGRAPHIC OPERATIONS.
6//!
7//! This module contains cryptographic operations which are considered insecure.
8//! These operations should only be used for compatibility with legacy systems -
9//! never in new systems!
10//!
11//! *This module is available if Mundane is built with the `insecure` feature.*
1213#![deprecated(note = "insecure cryptographic operations")]
1415#[allow(deprecated)]
16#[cfg(feature = "insecure")]
17pub use hash::insecure_md5_digest::InsecureMd5Digest;
18#[allow(deprecated)]
19#[cfg(feature = "insecure")]
20pub use hash::insecure_sha1_digest::InsecureSha1Digest;
2122#[allow(deprecated)]
23#[cfg(feature = "insecure")]
24pub use hmac::insecure_hmac::{InsecureHmacMd5, InsecureHmacSha1};
2526#[allow(deprecated)]
27#[cfg(all(feature = "kdf", feature = "insecure"))]
28pub use kdf::insecure_pbkdf2_hmac_sha1::insecure_pbkdf2_hmac_sha1;
2930#[allow(deprecated)]
31#[cfg(feature = "insecure")]
32pub use insecure_rc4::InsecureRc4Key;