reallyme-crypto 0.3.2

Cross-platform cryptographic primitives, key formats, and conformance-tested provider bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
//
// SPDX-License-Identifier: Apache-2.0

/// Security-relevant class of an operation result.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[non_exhaustive]
pub enum OutputMaterial {
    /// Digest, signature, public key, boolean, or other public result.
    Public,
    /// Ciphertext or wrapped material that remains privacy-sensitive.
    SensitivePublic,
    /// A private key, plaintext, shared secret, derived key, or seed.
    Secret,
    /// A structured result containing both public and secret fields.
    Mixed,
}