SageMath script for AES-GCM challenges

There was an interesting challenge about AES-GCM in LINE CTF 2022, called ’lazy STEK.' I’m not gonna talk about the challenge itself. When I was solving this challenge, I realized that I did not save a script to convert between byte blocks and $\mathbb{F}_{2^{128}}$ elements in SageMath. As it is a bit confusing to understand how the conversion works, I share my script with the solution of lazy STEK here for someone struggling with this problem....

2022-03-27 · 2 min · RBTree