Key derivation from password
AES-128 requires exactly a 16-byte key. A human, however, cannot remember a 16-byte random value — they write a password. Therefore, many programs generate a key from a password using a hash function.
The old (and today not recommended) method: kalit = MD5(parol). MD5 gives exactly 16 bytes, so it "fits" AES-128. Its vulnerability is that MD5 is calculated very quickly — an attacker can try billions of passwords per second. Today's correct solution is PBKDF2, scrypt, or Argon2 (they are intentionally slow).
The message is encrypted with AES-128-ECB, and the key is the MD5 hash of the samarqand2026 password (raw bytes, not a hex string!).
Ciphertext (hex):
83e638d387d38b6b2943feeb6b80489da9a3b80a4ce847dad8be49715799d357
Note: hashlib.md5(...).digest() is 16 bytes, and .hexdigest() is a 32-character string. We need the first one.