

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Advanced Encryption Standard
incomplete
2: Advanced Encryption Standard
incomplete
3: Nonces
incomplete
4: Nonce Review
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Click to play video
AES is a block cipher just like DES, but there are some key differences:
When working with DES, we used CBC, or Cipher Block Chaining mode. When working with AES, we'll be using GCM, or Galois Counter Mode. While AES also supports CBC, GCM has a couple of properties that make it more suitable for production use:
At Passly, the production cipher we use to encrypt password values is AES in GCM mode! Complete the decrypt function.
[]byteReturn any errors that occur without modifying them.