Skip to main content

rbx-cryptography

The fastest cryptography library for Roblox

local Crypto = require("@daily3014/cryptography")

-- Hash
local Hash = Crypto.Hashing.Blake3.Digest(Data)

-- Encrypt
local Ciphertext, Tag = Crypto.Encryption.AEAD.Encrypt(Data, Key, Nonce)

-- Sign
local Signature = Crypto.Verification.EdDSA.Sign(Message, SecretKey, PublicKey)

Comprehensive

SHA2, SHA3, BLAKE, HMAC, ChaCha20 Poly1305, AES GCM, Ed25519, X25519, ML DSA, ML KEM

Blazing Fast

Optimized for Luau with native compilation. Includes algorithmic optimizations like shoup tables.

Secure

Constanttime operations. Builtin CSPRNG. Post quantum algorithms. Wycheproof tested.

Post Quantum Ready

ML DSA and ML KEM implementations for quantum resistant signatures and key exchange.

Everything You Need

Hashing

  • SHA 224/256/384/512
  • SHA3 224/256/384/512
  • BLAKE2b, BLAKE3
  • HMAC, KMAC

Encryption

  • ChaCha20 Poly1305
  • XChaCha20 Poly1305
  • AES 128/192/256 GCM
  • Simon, Speck

Signatures

  • Ed25519
  • ML DSA 44/65/87

Key Exchange

  • X25519
  • ML KEM 512/768/1024

Quick Install

Wally

Cryptography = "daily3014/cryptography@3.0.1"

Pesde

pesde add daily3014/cryptography