Commit 59df376a authored by ='s avatar =
Browse files

Rename base64Encode to toBase64 and hexEncode to toHex

parent c8145434
......@@ -112,8 +112,8 @@ static int crypto_mask( lua_State* L )
const LUA_REG_TYPE crypto_map[] =
{
{ LSTRKEY( "sha1" ), LFUNCVAL( crypto_sha1 ) },
{ LSTRKEY( "base64Encode" ), LFUNCVAL( crypto_base64_encode ) },
{ LSTRKEY( "hexEncode" ), LFUNCVAL( crypto_hex_encode ) },
{ LSTRKEY( "toBase64" ), LFUNCVAL( crypto_base64_encode ) },
{ LSTRKEY( "toHex" ), LFUNCVAL( crypto_hex_encode ) },
{ LSTRKEY( "mask" ), LFUNCVAL( crypto_mask ) },
#if LUA_OPTIMIZE_MEMORY > 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment