Remove debug prints from hash function

This commit is contained in:
Robin Malley 2021-01-16 20:58:57 +00:00
parent 02efaf9631
commit ff2e560a2c
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}