Rename base64Encode to toBase64 and hexEncode to toHex
This commit is contained in:
parent
c8145434c3
commit
59df376a3a
|
@ -112,8 +112,8 @@ static int crypto_mask( lua_State* L )
|
||||||
const LUA_REG_TYPE crypto_map[] =
|
const LUA_REG_TYPE crypto_map[] =
|
||||||
{
|
{
|
||||||
{ LSTRKEY( "sha1" ), LFUNCVAL( crypto_sha1 ) },
|
{ LSTRKEY( "sha1" ), LFUNCVAL( crypto_sha1 ) },
|
||||||
{ LSTRKEY( "base64Encode" ), LFUNCVAL( crypto_base64_encode ) },
|
{ LSTRKEY( "toBase64" ), LFUNCVAL( crypto_base64_encode ) },
|
||||||
{ LSTRKEY( "hexEncode" ), LFUNCVAL( crypto_hex_encode ) },
|
{ LSTRKEY( "toHex" ), LFUNCVAL( crypto_hex_encode ) },
|
||||||
{ LSTRKEY( "mask" ), LFUNCVAL( crypto_mask ) },
|
{ LSTRKEY( "mask" ), LFUNCVAL( crypto_mask ) },
|
||||||
|
|
||||||
#if LUA_OPTIMIZE_MEMORY > 0
|
#if LUA_OPTIMIZE_MEMORY > 0
|
||||||
|
|
Loading…
Reference in New Issue