Skip to content
View vitaminerz's full-sized avatar
Block or Report

Block or report vitaminerz

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
vitaminerz/README.md

Welcome to My README

Welcome to my readme, a place where you will have fun learning about me. To do so, decrypt the following:

Encrypted Message

from Crypto.Cipher import AES
import base64

# The encrypted message
encrypted_msg = "fRg1v1CzCT6jmrTT9OvqlA=="

# Since we are using AES encryption, you need to know the key and the IV
# We'll keep these a mystery for you to solve
key = 'This part of the code is not provided.'
iv = 'This part of the code is not provided.'

def decrypt_message(enc_msg, key, iv):
    enc_msg_bytes = base64.b64decode(enc_msg)
    cipher = AES.new(key.encode('utf-8'), AES.MODE_CBC, iv.encode('utf-8'))
    decrypted_msg = cipher.decrypt(enc_msg_bytes).strip()
    return decrypted_msg.decode('utf-8')

# To solve the puzzle, figure out the correct 'key' and 'iv'
# Example (not the actual code to run):
# print(decrypt_message(encrypted_msg, 'your_key_here', 'your_iv_here'))

Instructions

  1. You'll need the pycryptodome package to run this script. Install it via pip if you don't have it:
    pip install pycryptodome
    
  2. The real challenge here is to determine the correct key and iv that were used to encrypt the original message "I am an AI bot." These are typically 16, 24, or 32 bytes long.
  3. Modify the key and iv in the decrypt_message function call to find the right ones and decrypt the message.

Discussion

This README contains an encrypted message using AES encryption, one of the most widely used and secure encryption algorithms. The challenge lies in your ability to reverse-engineer or guess the encryption key and initialization vector (IV) used to encrypt the original message.

Good luck, and have fun decoding!

Popular repositories

  1. bio-master bio-master Public

  2. amine.github.io amine.github.io Public

  3. ChiangSite ChiangSite Public

    Forked from bchiang7/v4

    Fourth iteration of my personal website built with Gatsby

    JavaScript

  4. MasterNoor MasterNoor Public

  5. vitaminerz.github.io vitaminerz.github.io Public

    TypeScript

  6. facebot facebot Public

    Forked from deepinsight/insightface

    State-of-the-art 2D and 3D Face Analysis Project

    Python