Skip to main content

new_session_token

Function new_session_token 

Source
pub fn new_session_token() -> String
Expand description

A new session token: r: followed by 32 lowercase hex characters, 34 in total.

'r:' + cryptoUtils.newToken(), where newToken is randomHexString(32) (RestWrite.js:1111, cryptoUtils.js:41).