CSYClubIIITK / eco-crypt

Cipher which encrypts the given text into Environment emojis.
MIT License
3 stars 15 forks source link

Increase emoji base #13

Closed sarthakg043 closed 11 months ago

sarthakg043 commented 12 months ago

Right now the given emoji set is being used to encode letters from A-Z which can be found in index.py file

nature_emojis = [
    '🌿', '🌻', '🍃', '🌸', '🍂', '🌺',
    '🍀', '🍁', '🍄', '🌹', '🌲', '🌴',
    '🍅', '🍆', '🌽', '🍊', '🍎', '🍓',
    '🍑', '🍍', '🍌', '🍉', '🍇', '🍈',
    '🍐', '🍏'
]

TASK

Hint

You need to modify this line 28 in index.py

modified_text += nature_emojis[(ord(i.lower()) - ord('a'))]