bee-crypto 0.3.0

Cryptographic primitives of the IOTA protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

/// The different kinds of Sponges.
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub enum SpongeKind {
    /// Kerl.
    Kerl,
    /// CurlP with 27 rounds.
    CurlP27,
    /// CurlP with 81 rounds.
    CurlP81,
    /// Unrolled CurlP with 81 rounds.
    UnrolledCurlP81,
}