How to Encrypt / Decrypt with AES (CCM & GCM) in Node.JS
First of all we have to understand what is CCM mode and GCM mode. Roughly:
CCM
CCM mode (Counter with CBC-MAC) is a mode of operation for cryptographic block ciphers. It is an authenticated encryption algorithm designed to provide both authentication and confidentiality. CCM mode is only defined for block