1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2018 Google LLC
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

//! WARNING: INSECURE CRYPTOGRAPHIC OPERATIONS.
//!
//! This module contains cryptographic operations which are considered insecure.
//! These operations should only be used for compatibility with legacy systems -
//! never in new systems!

#![deprecated(note = "insecure cryptographic operations")]

#[allow(deprecated)]
pub use hash::insecure_sha1_digest::InsecureSha1Digest;
#[allow(deprecated)]
pub use hmac::insecure_hmac_sha1::InsecureHmacSha1;

#[cfg(feature = "kdf")]
#[allow(deprecated)]
pub use kdf::insecure_pbkdf2_hmac_sha1::insecure_pbkdf2_hmac_sha1;