Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
87
fn make_key() -> PasetoSymmetricKey<V4, PasetoLocal> {
88
PasetoSymmetricKey::<V4, PasetoLocal>::from(Key::from(PASETO_KEY))
89
}
90
91
pub fn verify_token(
92
token: String,
Callers
2
verify_token
Function · 0.70
issue_token
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected