Posted 16 June 2015 - 07:38 PM
Hi, I started a project for an MD5 Hashing API and i'm getting some weird errors
the project devel went well, I tested my code successfully with Cygwin LUA compiler
the weird problem started when I tryed it with computercraft
The MD5 Api is http://pastebin.com/H0f0N1VL The api contains LuaBit v0.4 a bitwise operation lib for lua.
and the Startup is http://pastebin.com/8SF7AG51
The Result is :
line 24 calls the MD5 Calculation function :
the project devel went well, I tested my code successfully with Cygwin LUA compiler
the weird problem started when I tryed it with computercraft
The MD5 Api is http://pastebin.com/H0f0N1VL The api contains LuaBit v0.4 a bitwise operation lib for lua.
and the Startup is http://pastebin.com/8SF7AG51
The Result is :
startup:24: attempt to index ? ( a boolean value )
From there i'm lost, just, lost.line 24 calls the MD5 Calculation function :
print(md5.CalcHash("pass"))