Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
59df376a
Commit
59df376a
authored
May 28, 2015
by
=
Browse files
Rename base64Encode to toBase64 and hexEncode to toHex
parent
c8145434
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/crypto.c
View file @
59df376a
...
...
@@ -112,8 +112,8 @@ static int crypto_mask( lua_State* L )
const
LUA_REG_TYPE
crypto_map
[]
=
{
{
LSTRKEY
(
"sha1"
),
LFUNCVAL
(
crypto_sha1
)
},
{
LSTRKEY
(
"
b
ase64
Encode
"
),
LFUNCVAL
(
crypto_base64_encode
)
},
{
LSTRKEY
(
"
hexEncode
"
),
LFUNCVAL
(
crypto_hex_encode
)
},
{
LSTRKEY
(
"
toB
ase64"
),
LFUNCVAL
(
crypto_base64_encode
)
},
{
LSTRKEY
(
"
toHex
"
),
LFUNCVAL
(
crypto_hex_encode
)
},
{
LSTRKEY
(
"mask"
),
LFUNCVAL
(
crypto_mask
)
},
#if LUA_OPTIMIZE_MEMORY > 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment