Skip to content
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

cre8-app-event · module ticket_code · src · 324 lines (228 code, 61 comment) · sha b9539450ab393b36

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
ticket_codesrc/ticket_code.rs:187fn311713.9
code_forsrc/ticket_code.rs:182fn31123.8
secretsrc/ticket_code.rs:82fn31423.2
mac_withsrc/ticket_code.rs:169fn41422.9
base32src/ticket_code.rs:149fn194202.2
env_secretsrc/ticket_code.rs:62fn61212.1
hmac_sha256src/ticket_code.rs:127fn203211.9
process_random_secretsrc/ticket_code.rs:69fn122121.8
verify_withsrc/ticket_code.rs:191fn72331.6
code_is_currentsrc/ticket_code.rs:208fn311121.2
load_or_create_persisted_secretsrc/ticket_code.rs:99fn263231.2
constant_time_eqsrc/ticket_code.rs:174fn62201.1
verify_ticket_codesrc/ticket_code.rs:201fn31421
hexsrc/ticket_code.rs:253fn31110.7
normalize_door_codesrc/ticket_code.rs:228fn51200.7
authentic_ticket_idsrc/ticket_code.rs:243fn41220.6
door_codesrc/ticket_code.rs:219fn61210.6
install_node_secretsrc/ticket_code.rs:89fn73120.6
door_code_is_currentsrc/ticket_code.rs:236fn51140.6
hmac_matches_rfc_4231_vectorssrc/ticket_code.rs:258fn121020.5
base32_follows_rfc_4648src/ticket_code.rs:272fn61010.5
a_code_verifies_for_its_ticket_only_and_forgeries_failsrc/ticket_code.rs:280fn182020.5
current_codes_follow_the_ticket_versionsrc/ticket_code.rs:300fn151050.5
the_persisted_key_is_created_once_and_read_backsrc/ticket_code.rs:317fn71010.5

Source not readable from this process.