Skip to main content
Discovery icon for Minecraft Computer Mods Discord server

Minecraft Computer Mods

2,588 Online
7,346 Members
# computercraft4 people

ComputerCraft secure communication

Discussing secure communication methods for ComputerCraft programs, focusing on encryption using a pre-shared key (PSK) and the 'snet' library.

  • Initial thought of `drop allf` for security is quickly dismissed as anyone can still listen to messages without encryption.
  • A specific proposal is made for Symmetric Authenticated Encryption using a Pre-Shared Key (PSK) combined with a Timestamp/Nonce Payload for security.
  • A GitHub library called 'snet' is recommended, which uses 'ccryptolib' for encryption and comes with example Lua code for setup and message handling.
  • The 'snet' library requires a modem, a channel, a 32-byte key, and a computer 'name' for targeted messages, and handles encrypted sending and receiving.
  • Concern is raised about HTTP API being disabled on some modded servers, which might affect the functionality, though it's typically enabled by default.
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App