Veil v0.2.4 Veil.Secure View Source
Veil.Secure is a module for generating secure session ids to be used by Veil.
Link to this section Summary
Functions
To form a secure id, we concatenate together:
- 24-40 random bytes
- user ip address
- user agent string
- system time in ms
- server secret (re-generated every time the server starts)
Gets the IP address of the client
Link to this section Functions
To form a secure id, we concatenate together:
- 24-40 random bytes
- user ip address
- user agent string
- system time in ms
- server secret (re-generated every time the server starts)
Then SHA256 the result, and encode in Base32 (so we can transmit it as part of a URL).
Gets the IP address of the client