Fastest Cryptography Library for Roblox

Update Log - v1.5.0

  • Added Utilities.CSPRNG (Cryptographically secure pseudo RNG)
  • Optimized Conversions.FromHex by 300%
  • Optimized EdDSA SHA512 by 15%
  • Optimized Base64 by ~30-60% (If your use case is just encoding in Base64, this is faster than HttpService:JSONEncode and JSONDecode)
  • Base64.Encode now returns a buffer

Update Log - v1.6.1

  • Code cleanup
  • Optimized CRC32 by 25%
  • Optimized Blake3 by 4000%
  • Fixed outdated API reference
  • Added example for CSPRNG (examples/CSPRNG.luau)
  • Added a “performance mode” for CSPRNG: CSPRNG.BlockExpansion = true/false which extends the block with Blake3 (size is customizable through CSPRNG.SizeTarget)
  • Fixed SHA2 exports
  • Fixed how custom entropy is copied into the buffer
  • Changed EdDSA to use CSPRNG, CSPRNG can still be accessed through Utilities.CSPRNG