Rename base64Encode to toBase64 and hexEncode to toHex

This commit is contained in:
= 2015-05-28 08:55:53 -05:00
parent c8145434c3
commit 59df376a3a
1 changed files with 2 additions and 2 deletions

View File

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