mirror of
https://github.com/tinode/chat.git
synced 2025-03-14 10:05:07 +00:00
mention base64 *standard* encoding for HMAC salt
This commit is contained in:
@ -7,7 +7,7 @@ A command-line utility to generate an API key for [Tinode server](../server/)
|
||||
* `sequence`: Sequential number of the API key. This value can be used to reject previously issued keys.
|
||||
* `isroot`: Currently unused. Intended to designate key of a system administrator.
|
||||
* `validate`: Key to validate: check previously issued key for validity.
|
||||
* `salt`: [HMAC](https://en.wikipedia.org/wiki/HMAC) salt, 32 random bytes base64 encoded; must be present for key validation; optional when generating the key: if missing, a cryptographically-strong salt will be automatically generated.
|
||||
* `salt`: [HMAC](https://en.wikipedia.org/wiki/HMAC) salt, 32 random bytes base64 standard encoded; must be present for key validation; optional when generating the key: if missing, a cryptographically-strong salt will be automatically generated.
|
||||
|
||||
|
||||
## Usage
|
||||
|
Reference in New Issue
Block a user