Skip to main content

commit_tools

Function commit_tools 

Source
pub fn commit_tools(tools: &[String]) -> (Vec<String>, Vec<String>)
Expand description

Commit a tool set for selective disclosure. Returns the sorted tools_sd digests (which go into the signed card) and the encoded disclosure strings (which the holder stores and reveals selectively). Order of tools does not affect tools_sd (it is sorted), so the digest list never leaks the set’s authoring order.