From 11c725b5738665703072d624af3c217f9014c3e4 Mon Sep 17 00:00:00 2001 From: vnprc Date: Thu, 14 Nov 2024 17:40:23 -0500 Subject: [PATCH] docs: comment calling out as a one-way function --- crates/cdk/src/nuts/nut02.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/cdk/src/nuts/nut02.rs b/crates/cdk/src/nuts/nut02.rs index 9f36a4a2..5d63c56b 100644 --- a/crates/cdk/src/nuts/nut02.rs +++ b/crates/cdk/src/nuts/nut02.rs @@ -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 for u32 { fn from(value: Id) -> Self { let hex_bytes: [u8; 8] = value.as_bytes();