mirror of
https://github.com/cadmium-im/cadmium-docs-legacy.git
synced 2024-11-08 11:41: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
|
||||
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user