Home > Software engineering >  C GCM> <AES decryption
C GCM> <AES decryption

Time:03-19

The library with can be anything, I currently use CryptoPP library,
Looking for information on head big, whether someone familiar with, can you provide a demo,

The project need to get the chrome cookies, reference this article:
In c + + decryption Chrome80 holding version database

But the code in this article the result is not correct, after debugging errors in decoding part of GCM, other patterns of AES encryption code, but did not find GCM, for help and provide the code, the article, are available, thank you,

CodePudding user response:

https://www.codeproject.com/Articles/1265115/Cross-Platform-AES-256-GCM-Encryption-Decryption

CodePudding user response:

https://github.com/KashifMushtaq/AES_GCM_256_C

CodePudding user response:

Minister, regardless of the oh, codeProject compilation is not in the past, the change is, decrypt the mistake,

CodePudding user response:

To find it is better to spend more time to look at website cryptoPP AES encryption source code is not a GCM model TEST VS project?

CodePudding user response:

Is basically solved the
With is the secretary to provide this code: https://github.com/KashifMushtaq/AES_GCM_256_C

Solutions simply put, are really unable to solve all kinds of online code decoding chrome this problem, but can only look back to meditation to GCM algorithm description, by setting the vector length, solve problems,
GCM : : Decryption aesDecryption;
AesDecryption. SetKeyWithIV (reinterpret_cast & lt; Const byte * & gt; (aesKey), AES: : MAX_KEYLENGTH, reinterpret_cast & lt; Const byte * & gt; (aesIV), 12);
The default is 16, you need to set up to 12 can,

But now there are some grammar problems, one day with a headache,
Resolve knot later,

Cut in chrome 80 x versions of chrome cookies for c + + code is copied, still is wrong,,,
  • Related