Qt 6.11 is out! See what's new in the release
blog
How to build a QCA:: seccureArray by passing it a parameter of type unsigned char *
General and Desktop
3
Posts
2
Posters
3.3k
Views
1
Watching
-
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