Remove debug prints from hash function
This commit is contained in:
parent
02efaf9631
commit
ff2e560a2c
|
@ -19,11 +19,8 @@ lsha3(lua_State *L){
|
|||
unsigned char out[64];
|
||||
const unsigned char *data = (const unsigned char*)luaL_checklstring(L,-1,&len);
|
||||
lua_pop(L,1);
|
||||
printf("All data gotten, about to hash\n");
|
||||
FIPS202_SHA3_512(data, len, out);
|
||||
printf("Finished hashing\n");
|
||||
lua_pushlstring(L,(char*)out,64);
|
||||
printf("Finished pushing string to lua\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue