monero/cryptonote/mod.rs
1// Rust Monero Library
2// Written in 2019-2023 by
3// Monero Rust Contributors
4//
5// Permission is hereby granted, free of charge, to any person obtaining a copy
6// of this software and associated documentation files (the "Software"), to deal
7// in the Software without restriction, including without limitation the rights
8// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9// copies of the Software, and to permit persons to whom the Software is
10// furnished to do so, subject to the following conditions:
11//
12// The above copyright notice and this permission notice shall be included in all
13// copies or substantial portions of the Software.
14//
15
16//! CryptoNote primitive types and helper functions to hash, generate one-time addresses, or
17//! manipulate sub-addresses.
18//!
19//! This module support CryptoNote protocols such as 'hash to number' [`Hn()`] with
20//! [`hash::Hashable`], One-time keys, and Subaddresses.
21//!
22//! [`Hn()`]: hash::Hashable::hash_to_scalar()
23//!
24
25pub mod hash;
26pub mod onetime_key;
27pub mod subaddress;