Skip to content
View Sineth-Suriyapperuma's full-sized avatar
๐ŸŽฏ
Focusing
๐ŸŽฏ
Focusing
  • Nuwara Eliya
  • 07:21 (UTC -12:00)
  • Joined Nov 7, 2025

Block or report Sineth-Suriyapperuma

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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. 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

Sineth Suriyapperuma ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

visitor badge GitHub followers

๐Ÿ’ป Student Developer | Learning to build smart systems & appealing projects

GIF

๐Ÿ“š ICT in the field of Management | ๐ŸŒ From LK


๐Ÿง  About Me

๐Ÿš€ Passionate about exploring the digital world and creating systems that combine logic and creativity.
๐ŸŽฏ Aspiring to become a Professor in Computer Science one day.
๐Ÿงฉ Iโ€™m currently learning Python, C++, and Web Development while working on small projects.
โšก Fun Fact: I am an Analytical Thinker.


๐Ÿงฐ Languages & Tools


๐Ÿš€ Current Interests

๐Ÿง  Artificial Intelligence
๐ŸŒ Web Design & Development
โš™๏ธ Building Custom Operating Systems
๐ŸŽฎ Game Development


๐Ÿ“Š GitHub Stat

GitHub Stats Top Languages
Jokes Card

GitHub Activity Graph


๐Ÿงฉ Featured Project โ€” Text Encryptor (Python)

A simple encryption script that shifts ASCII characters and converts them into binary for fun experimentation.

import os
def bintodec(n):
    decimal=0
    power=0
    while n>0:
        digit=n%10
        if digit==1 or digit==0:
            decimal+=digit*(2**power)
            n=n//10
            power+=1
    return decimal

def tb_en(text):
    char=[]
    decimal=[]
    for c in text:
        char.append(c)
        decimal.append(ord(c))
    binlist=[]
    for val in decimal:
        hold_c=(val+10)%128
        binary=format(hold_c,'08b')
        binlist.append(binary)
    chrt=''
    chrt_list=[]
    for i in range(len(char)):
        bin_str=binlist[i]
        bin_dec=bintodec(int(bin_str))
        if 0 <=bin_dec<= 128:
            ascii_chrt=chr(bin_dec)
        chrt_list.append(ascii_chrt)
        chrt+=ascii_chrt
    for c in range(len(char)):
        display=print("  ",char[c]," | ",binlist[c],"| ",chrt_list[c])
    print()
    print("Encrypted values : ",chrt)

print()
line=input("Enter Text : ")
print()
print(" Char | shift_bin | shift_Char ")
print("------|-----------|------------")
tb_en(line)
os.system('pause')

This project deepened my understanding of binary, ASCII, and modular arithmetic in Python โ€” turning logic into creativity through code.


โšก "Code. Learn. Evolve."

๐Ÿ‘จโ€๐Ÿ’ป Credit: Sineth Suriyapperuma
๐Ÿ•’ Last Edited on: 08/11/2025

Popular repositories Loading

  1. Sineth-Suriyapperuma Sineth-Suriyapperuma Public