Construct Crypto Extension
Creates a crypto extension for end-to-end encryption (E2EE) with the given shared secret. Pass it to the Crypto input of Connect Room. All peers in the room need the same secret to understand each other; check a peer with Get Peer Crypto Status.
- Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
- Menu category: Odin › Room
- C++:
UOdinCrypto::ConstructCrypto
warning
End-to-end encryption needs the ODIN crypto extension library (odin_crypto), which ships with the plugin for Windows, Linux, Android, macOS and iOS. On platforms without it (e.g. PlayStation 5) this node logs a warning, no cipher is applied and the room is not encrypted.
Inputs
| Name | Type | Description |
|---|---|---|
| Secret | Array of Byte | The shared secret, e.g. from Odin String To Bytes. You can change it later with Set Crypto Password on the room. |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Odin Crypto | The crypto extension. |