MCPcopy Index your code
hub / github.com/Rust-Web-Development/code / make_key

Function make_key

ch_09/src/routes/authentication.rs:87–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87fn make_key() -> PasetoSymmetricKey<V4, PasetoLocal> {
88 PasetoSymmetricKey::<V4, PasetoLocal>::from(Key::from(PASETO_KEY))
89}
90
91pub fn verify_token(
92 token: String,

Callers 2

verify_tokenFunction · 0.70
issue_tokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected