diafygi / webcrypto-examples

Web Cryptography API Examples Demo: https://diafygi.github.io/webcrypto-examples/
GNU General Public License v2.0
1.64k stars 194 forks source link

README changes to AES-GCM comments #59

Open khrice opened 5 years ago

khrice commented 5 years ago

Changed the comment to help with confusion around optional parameters for IE and Edge

Ruffio commented 5 years ago

@khrice nice catch, you are absolutely right :-)

ericlaw1979 commented 4 years ago

It might also be good to mention that IE/Edge Legacy require that the IV be 12 bytes for AES_GCM; any other value results in failure. This is because these browsers all the Windows Crypto API which supports only a 96bit IV (as suggested by the NIST standard).