title: Key generation algorithm in Riak
body: <p>Riak has an API, which allows to create a record and unique key would be generated on server.
  What algorithm is used for server-side key generation in Riak?
  Is the length configurable? Is it securely random?
  Can it be used as authentication token?</p>