mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-14 06:59:24 +00:00
Further documentation, start shoring up API boundaries of existing crates
This commit is contained in:
@@ -9,7 +9,7 @@ use monero_io::decompress_point;
|
||||
|
||||
use crate::keccak256;
|
||||
|
||||
/// Monero's hash to point function, as named `hash_to_ec`.
|
||||
/// Monero's `hash_to_ec` function.
|
||||
pub fn hash_to_point(bytes: [u8; 32]) -> EdwardsPoint {
|
||||
#[allow(non_snake_case)]
|
||||
let A = FieldElement::from(486662u64);
|
||||
|
||||
Reference in New Issue
Block a user