Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support Mode GCM in AES #138

Open
cs-shadowbq opened this issue Jun 20, 2022 · 0 comments
Open

Feature: Support Mode GCM in AES #138

cs-shadowbq opened this issue Jun 20, 2022 · 0 comments
Labels

Comments

@cs-shadowbq
Copy link

AES GCM mode

When using symmetric encryption, you should be using authenticated encryption, such as AES-GCM (Galois/Counter Mode), rather than unauthenticated encryption, such as AES-CBC (Cipher Block Chaining). AES-CBC is not authenticated encryption, so it is vulnerable to the various chosen-ciphertext attacks.

As of v1.3, TLS no longer supports AES-CBC. GCM includes an in-built integrity check.

an example: https://github.com/adrian154/blog/blob/main/generated-site/resources/tls/decrypt.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant