[Development] Playground: Crypto module

Richard Moore rich at kde.org
Thu Jan 10 23:51:19 CET 2013


On 10 January 2013 22:32, Ruslan Nigmatullin <euroelessar at yandex.ru> wrote:
> 11.01.2013, 00:55, "Richard Moore" <rich at kde.org>:
>> On 10 January 2013 20:48, Ruslan Nigmatullin <euroelessar at yandex.ru> wrote:
>>>  2. HMAC is unsupported, so it's usually impossible to use OAuth with hmac-authorization (like "hmac(sha256)")
>>
>> Adding support for HMAC to QCryptographicHash would be pretty trivial.
>> I don't see any reason why such a change would not be accepted.
>
> If it's fit logically into QCryptographicHash, there is no problem to implement it, I agree. Should I implement it as another one class, i.e. QMessageAuthenticationCode?

I think a separate QMessageAuthenticationCode class is probably a better API.

Cheers

Rich.



More information about the Development mailing list