Crypto++ AES encryption and decryption

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • How to encrypt and decrypt with AES using Crypto++ .

КОМЕНТАРІ • 2

  • @fisyamaloy1754
    @fisyamaloy1754 3 роки тому +1

    Nice video, man.
    But... You use pointer and don't release memory. Smart Pointer will not fix it - there are troubles. Could you give me some advice? I think that we need create wrapper for byte's array. Just delete[] array in functions doesn't look very good

    • @gameryo3691
      @gameryo3691 2 роки тому +4

      If you read the docs carefully, it is clearly stated that the memory is automatically freed even when new is used. The wrapper class you where asking about is the 'SecByteBlock' class that acts like a byte array.