bricke / Qt-AES

Native Qt AES encryption class
The Unlicense
501 stars 187 forks source link

Support protocol buffers (protobuf) #45

Closed nsourligas closed 2 years ago

nsourligas commented 2 years ago

Hi,

Does anyone know if Qt-AES is supporting the usage of protocol buffers (protobuf) ?

Because I tried to encode and decode a QByteArray with protobuf data and after decoding it's unable to retrieve the correct information.

nsourligas commented 2 years ago

It works perfectly with protobuf!

The problem was that I wasn't passing the already decoded QByteArray when removing padding.

Sorry for bothering you without any particular reason.