mirror of
https://github.com/cadmium-im/cadmium-docs-legacy.git
synced 2024-11-09 20:21:03 +00:00
Add server ID generation example
This commit is contained in:
parent
dc3bb4b3d1
commit
931828dee5
@ -26,7 +26,8 @@ For starting we simply use JSON + Websockets.
|
|||||||
### Server-part
|
### Server-part
|
||||||
|
|
||||||
- hostname: `IPv4 / [IPv6] / dns-domain:<port (1-65535)>` (for end-users use)
|
- hostname: `IPv4 / [IPv6] / dns-domain:<port (1-65535)>` (for end-users use)
|
||||||
- server ID: static SHA256 hash string from 4096 characters (for internal protocol use)
|
- server ID: static SHA256 hash string from 4096 characters (for internal protocol use).
|
||||||
|
- Generation example (using Linux): `echo -n $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 4096 | head -n 1) | sha256sum`
|
||||||
|
|
||||||
### Username/Room alias/RoomID
|
### Username/Room alias/RoomID
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user