Set Crypto Password
Sets the shared secret of the room's crypto extension from a password. The password is converted to UTF-8 bytes. Does nothing if the room was connected without a crypto extension.
- Node type: Pure function. Has no execution pins; it is evaluated whenever one of its outputs is read.
- Target: Odin Room
- Menu category: Odin › Room › Extensions
- C++:
UOdinRoom::SetPassword
warning
All peers in the room must use the same secret. Other ODIN SDKs may derive the secret from a password differently, so in a cross-platform room pass the same raw secret bytes to Construct Crypto Extension on every client.
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Odin Room | The Odin Room to call this function on. |
| Password | String | shared secret |