Hi,
Could you help with this plugin where my sample apps showing "tmp.length is not a function"
Here is my OML.
Thanks
It's probably 32 bytes (256 bits)
Ricardo Silva wrote:
oh, Thank You :D
Toto Hugo wrote:
And this is the screenshot
Vignesh was having an apparently similar issue in this thread. Can you check if his solution also works for you?
yes, i already try that and not working.
Hi Toto,
here i am attached new version of your oml, with working version, i just remove the keysize from 256 to 32, and i also include both encrypt and decrypt function working together.
Thanks,
Balu
Balu wrote:
Thanks Balu, but why key size 32 ?
Doesn't this means using 32 bit not 256 bit ?
Yes as Ricardo said its 32 bytes is 256 bits, in the crypto lib they didnt be describe the value is bytes or bits, and more than 256 bits is not support, here some article just for you to know.
https://crypto.stackexchange.com/questions/5768/aes-key-length-greater-than-256-bits-is-it-dangerous-to-do-an-implementation-o