This content has been marked as final. Show 2 replies
I am not aware of a size limit for<tt> cipher.doFinal </tt>.
Could it be that your<tt> data2cipher </tt> variable is shorter than 32 bytes, or/and its allocation fails?
Thanks fgrieu... you made me see the mistake, my data2cipher array had the enought positions, but the array where to put the result no... I have to take more attention jejejej