Copyright © 2009-2012 Marc Worrell
Behaviours: gen_server.
Authors: Marc Worrell (marc@worrell.nl).
| code_change/3 | |
| fix_seed/0 | Fix the seed of the random number generator, used for tests. |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| id/0 | Return a long random id, can be used for session ids. |
| id/1 | |
| identifier/0 | Get a random indentifier of a certain length, case insensitive. |
| identifier/1 | |
| init/1 | |
| number/0 | Return a big random integer, but smaller than maxint32. |
| number/1 | |
| optid/1 | |
| sign_key/1 | Get the key for signing requests stored in the user agent. |
| sign_key_simple/1 | Get the key for less secure signing of data (without nonce). |
| start_link/0 | |
| start_tests/0 | |
| terminate/2 | |
| unique/0 | Return an unique id to be used in javascript or html. |
code_change(OldVersion, State, Extra) -> any()
fix_seed() -> any()
Fix the seed of the random number generator, used for tests
handle_call(Msg, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Msg, State) -> any()
id() -> any()
Return a long random id, can be used for session ids.
id(Len) -> any()
identifier() -> binary()
Get a random indentifier of a certain length, case insensitive
identifier(Len) -> any()
init(Props) -> any()
number() -> any()
Return a big random integer, but smaller than maxint32
number(Max) -> any()
optid(Id) -> any()
sign_key(Context) -> binary()
Get the key for signing requests stored in the user agent.
sign_key_simple(Context) -> binary()
Get the key for less secure signing of data (without nonce).
start_link() -> any()
start_tests() -> any()
terminate(Reason, State) -> any()
unique() -> any()
Return an unique id to be used in javascript or html. No randomness, just unique in the cluster.
Generated by EDoc, Dec 10 2012, 20:44:34.