Bookmarks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
trailofbits/aes-gem https://github.com/trailofbits/aes-gem
Mon 29 Jul 2024 10:55:41 AM PDT archive.org

Galois Extended Mode (GEM) is a block cipher mode similar to Galois/Counter Mode but with the following enhancements:

  • Nonces are now longer than 96-bit. AES-256-GEM uses 256-bit nonces, while AES-128-GEM uses 192-bit nonces. Consequently, you can use AES-GEM to encrypt a virtually unlimited number of messages under the same key.
  • The maximum length for an encrypted message is about 2 exabytes (2^61 bytes), rather than about 64 gigabytes (2^36 - 32 bytes).
  • The weaknesses with truncated GCM tags have been addressed at the cost of one additional AES encrypt operation.

GEM achieves this with minimal overhead.

I don't know if this is a good idea or not, I don't even know if anybody's reviewed it yet. But, just in case it seems smart to keep a link handy.

rust aes implementation modes
6660 links, including 429 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn