lua-resty-string icon indicating copy to clipboard operation
lua-resty-string copied to clipboard

String utilities and common hash functions for ngx_lua and LuaJIT

Results 32 lua-resty-string issues
Sort by recently updated
recently updated
newest added

Hi~ I am reading python code about `Crypto.Cipher` in website: https://www.pycryptodome.org/src/cipher/classic#ctr-mode I found the `new` function defined to `Crypto.Cipher..new(key, mode, *, nonce=None, initial_value=None, counter=None)` Is the `initial_value` means the `salt`...

See: https://opm.openresty.org/search?q=lua-resty-string Most recent tag is 0.11. Refs #66

this patch is mean to fix issues like #28, #19 and it's now compatite with openssl shell command and php **note** it's not related to pull request #35 : it's...

Added some nice functions to resty random library. Heavily inspired by @bungle 's lua-resty-random library.

In case of uploading breakdown, we won't to calculate md5 from begining. So add the functions to continue md5_update().

Hello, I am not able to decrypt back what was encrypted using Crypto-JS in browser Javascript / NodeJS: ``` // Encrypt var ciphertext = CryptoJS.AES.encrypt('testingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtesting', '&&nH8P3bxk+?C4gR'); // Decrypt var bytes...

I am looking forward to AES-GCM encrypt and decrypt. However, currentlly I only can use C in openssl to implement it.