midnight-transient-crypto 2.0.1

Cryptographic primitives for Midnight that may change over time.
Documentation
// This file is part of midnight-ledger.
// Copyright (C) 2025 Midnight Foundation
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#![deny(unreachable_pub)]
//#![deny(warnings)]
#![deny(missing_docs)]

//! This crate collects cryptographic primitives used in Midnight's ledger.
//! All primitives, including zero-knowledge, curve choice, and crypto-aware
//! data structures are defined here, and should be added here to decouple from
//! any specific implementation.

#[macro_use]
extern crate tracing;

pub mod commitment;
pub mod curve;
pub mod encryption;
pub mod fab;
pub mod hash;
mod macros;
pub mod merkle_tree;
#[cfg(feature = "mock-verify")]
pub mod mock_verify;
pub mod proofs;
pub mod repr;