1 viewer
rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off
crates/cre8-app-event/src/ticket_code.rs
Items
const SECRET_ENV const MAC_DOMAIN const MAC_BYTES const SECRET_VERTEX_KIND const SECRET_VERTEX_ID static SECRET enum SecretSource const BLOCK const ALPHABET const DOOR_CODE_CHARS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ticket_codesrc/ticket_code.rs:187 | fn | 3 | 1 | 17 | 1 | 3.9 | |
| code_forsrc/ticket_code.rs:182 | fn | 3 | 1 | 1 | 2 | 3.8 | |
| secretsrc/ticket_code.rs:82 | fn | 3 | 1 | 4 | 2 | 3.2 | |
| mac_withsrc/ticket_code.rs:169 | fn | 4 | 1 | 4 | 2 | 2.9 | |
| base32src/ticket_code.rs:149 | fn | 19 | 4 | 2 | 0 | 2.2 | |
| env_secretsrc/ticket_code.rs:62 | fn | 6 | 1 | 2 | 1 | 2.1 | |
| hmac_sha256src/ticket_code.rs:127 | fn | 20 | 3 | 2 | 1 | 1.9 | |
| process_random_secretsrc/ticket_code.rs:69 | fn | 12 | 2 | 1 | 2 | 1.8 | |
| verify_withsrc/ticket_code.rs:191 | fn | 7 | 2 | 3 | 3 | 1.6 | |
| code_is_currentsrc/ticket_code.rs:208 | fn | 3 | 1 | 11 | 2 | 1.2 | |
| load_or_create_persisted_secretsrc/ticket_code.rs:99 | fn | 26 | 3 | 2 | 3 | 1.2 | |
| constant_time_eqsrc/ticket_code.rs:174 | fn | 6 | 2 | 2 | 0 | 1.1 | |
| verify_ticket_codesrc/ticket_code.rs:201 | fn | 3 | 1 | 4 | 2 | 1 | |
| hexsrc/ticket_code.rs:253 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| normalize_door_codesrc/ticket_code.rs:228 | fn | 5 | 1 | 2 | 0 | 0.7 | |
| authentic_ticket_idsrc/ticket_code.rs:243 | fn | 4 | 1 | 2 | 2 | 0.6 | |
| door_codesrc/ticket_code.rs:219 | fn | 6 | 1 | 2 | 1 | 0.6 | |
| install_node_secretsrc/ticket_code.rs:89 | fn | 7 | 3 | 1 | 2 | 0.6 | |
| door_code_is_currentsrc/ticket_code.rs:236 | fn | 5 | 1 | 1 | 4 | 0.6 | |
| hmac_matches_rfc_4231_vectorssrc/ticket_code.rs:258 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| base32_follows_rfc_4648src/ticket_code.rs:272 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| a_code_verifies_for_its_ticket_only_and_forgeries_failsrc/ticket_code.rs:280 | fn | 18 | 2 | 0 | 2 | 0.5 | |
| current_codes_follow_the_ticket_versionsrc/ticket_code.rs:300 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| the_persisted_key_is_created_once_and_read_backsrc/ticket_code.rs:317 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.