Skip to content

Commit

Permalink
docs: comment calling out as a one-way function
Browse files Browse the repository at this point in the history
  • Loading branch information
vnprc committed Nov 14, 2024
1 parent 507cadb commit 11c725b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/cdk/src/nuts/nut02.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ impl Id {
}

// Used to generate a compressed unique identifier as part of the NUT13 spec
// This is a one-way function
impl From<Id> for u32 {
fn from(value: Id) -> Self {
let hex_bytes: [u8; 8] = value.as_bytes();
Expand Down

0 comments on commit 11c725b

Please sign in to comment.