How to build a QCA:: seccureArray by passing it a parameter of type unsigned char *
-
I want to encrypt an unsigned char *, for that I must build a secureArray with this unsigned char *
how can I do?
-
You can try:
@
unsigned char * uCharArray;
QCA::SecureArray::SecureArray secArray( static_cast<const char *>(uCharArray) );
@But double check whether the conversion from unsigned to signed char does any harm!
-
Thanks Volker. I will test that next week. I am on leave