pub fn generate(lifetime: Duration) -> ExpiringKey
Expand description

It generates a new random 32-char authentication ExpiringKey

Panics

It would panic if the lifetime: Duration + Duration is more than Duration::MAX.