Skip to main content

published_example

Function published_example 

Source
pub fn published_example(public_key: &str) -> Option<&'static ExampleKey>
Expand description

Whether public_key is one prikk publishes as an example — and so is compromised by publication.

Case-insensitive on the hex, because a value that reaches stikk through a user’s own shell may be upper-cased; the comparison is on the value, and hex case is not part of it.