logo
GeekFormat

AES Encryption

Algebra Mode
Key Length
Secret format (encrypted output/ decryption input)
Express

UTF-8 文本

Description of mode and format

  • Browser SubtleCrypto for AES provides only GCM, CBC, CTR and not ECB, CFB, OFB etc. (avoiding poor use). If you want another mode, use OpenSSL/ service library.
  • The secret text is available for Hex / Base64 / Base64URL, which corresponds to the CyberChef, API, JWT, etc.; both sides of the decryption must be selected in the same format.
  • AES-GCM output is a continuous byte for "secret + authentication label " ; the whole of this tool is coded in the selected format and paste the whole paragraph when decrypted.

Annotations

  • Web Crypto operates in a browser; GCM is encrypted to fit the default scene.
  • When encrypted, IV will be left empty, and the tool will generate random IV and write to the top input box, which will be useful to reuse when decrypted.
  • When decrypting, IV will be left empty at the full 0 vector (valid only when the other party uses the same agreement).