Class CryptoUtils

java.lang.Object
me.alexdevs.classicPeripherals.utils.CryptoUtils

public class CryptoUtils extends Object
  • Constructor Details

    • CryptoUtils

      public CryptoUtils()
  • Method Details

    • assertKey

      public static String assertKey(String key) throws dan200.computercraft.api.lua.LuaException
      Throws:
      dan200.computercraft.api.lua.LuaException
    • assertSignature

      public static String assertSignature(String key) throws dan200.computercraft.api.lua.LuaException
      Throws:
      dan200.computercraft.api.lua.LuaException
    • assertLength

      public static int assertLength(int index, int value, int... lengths) throws dan200.computercraft.api.lua.LuaException
      Throws:
      dan200.computercraft.api.lua.LuaException