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

Can decrypt only pass in binary?

Open condingyz opened this issue 5 years ago • 1 comments

condingyz avatar Sep 29 '20 09:09 condingyz

My scenario is like this: to optimize the interface, you want to process it in Lua, but the accepted parameters are encrypted by the client, so you need to decrypt it in Lua layer. Currently, the problems encountered are as follows:

aes_ 128_ cbc_ with_ iv:decrypt(encrypted))

Can only encrypted be passed in? The parameter I received from the client is a string. How can I deal with it?

condingyz avatar Sep 29 '20 10:09 condingyz