message
Yesterday, while strolling near the riverside market, I noticed a curious pattern in the arrangement of the fruit stalls. The bananas were stacked in neat pyramids, while the oranges formed wide circles, almost like miniature suns resting on wooden tables. A man in a grey coat stood quietly near the third stall from the bridge, glancing occasionally at a pocket watch. Nearby, two children played with a red kite, its string cutting a perfect diagonal line across the pale afternoon sky. The smell of roasted chestnuts drifted through the air, mingling with the sharp scent of freshly cut limes. A small boat passed under the bridge, its captain humming softly, though the tune was unfamiliar. At exactly 4:17 p.m., the man in the grey coat adjusted his hat and walked away in the direction of the old clock tower. I thought nothing of it at first, but later I realized the boat’s flag was upside down, and the children’s kite had a peculiar emblem stitched into its tail. Perhaps it was all just coincidence—or perhaps, like many things in this city, it was part of a quiet conversation only a few were meant to hear.
මෙහෙම යැව්වොත් බඩුවගේ බනිස් වෙන නිසා මේ වචන විනාශ කරන්න ඕනේ.
Bridge කියන වචනේ තමයි key එක විදිහට ගන්නේ උදාහරනෙකට
දැන් වචන සැකසුම හදන්න ඕනේ නව අකුරු පිළිවෙලට....
Plain: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Cipher: B R I D G E A C F H J K L M N O P Q S T U V W X Y Z
දැන් encode එක
Rgtstcgub, tfska sdlmkkh gnbe tgd qgbvgsbce lbnkam, F gnbgbc b fbpmgb sammsb gdlldg gh tgd bqqbmgdbgs mg tgd fbtm sbdllr. Tgd bbnblrr vdtd rsbck gh lgbt qbtbkbhr, vdtd tgd nqtbdr fnmb hcfbsr, bmlnrr lkdb lbfmbbsbd rbmr qdrrhkh hg vnnblm tabkr. B lbm hm b gqfr bnbl rtsc rsbck gdmr tgd tghqc rbbk fnm tgd dqhbgi, gkbnmhbh nbdbshbkkh bl b qnblsb vhbsg. Ldbqbh, twn b ghkbmbm pkbhbr mhgb h bqb khgb, hr rgrhmb cvggkbbh b tdbfbd dhbgnmkk kmbd bnnrr tgd pbkb bgbmmdrn rsh. Tgd rnbkk mf rnbdrgd rbml qbmdg tgd dqhbgi, hr qbpbhrb hmttlh, gbnnfdg tgd gmtb rbnh gbnhgb, lbnmgtgh vhg tgd rdbsg rdmg vg tbmhfkbk mkr. Bt gbzbhkh 4:17 p.m., tgd gqfr bnbl rtsc bbqlrrdb hr gbm bml vbnkdc bmc vnnkb bmkhn mh tgd nkm blnmb gbtdq. F gdnm mbsgkh mg hg bl fbrr, bml lgbdb F qbfkhrdb tgd nnnr’k fkbg vdrr vhbrch cndn, bmc tgd ghkbmbm’r khgb gdb b mdrkhtbl blbklr rghbdb hmgh hr rgrhmb. Ndbgbr hr vr brsr cn lnhbchgbmbdr—nm ldbgbr, hkbd lbnk rghbr hm ghr rbshk, hr rb qbds gh b qgbbg bnlvdqrbhmb mkkh b fbv vdqd mdmbs gb gdbr.
මේ වගේ හෑල්ලක් තමයි යවන්නේ.. කතාව කෙටියෙන් දාන තරමට කෙළවෙන්න ලේසි හින්දා බොරු වචන අලංකාර විස්තර දාලා තමයි ලියන්නේ.
මතකයි නේ wikileaks
United States diplomatic cables leak එක. ආයේ හොදි නෑ.... රෙදි ඉල්ලේ.
decode කරලා තමයි ඕනේ දේ පෙරලා ගන්නේ.... ගොඩක් වෙලාවට පණිවිඩ 1,2,3,4,5,6,7 යවලා.... ඕනේ විස්තරේ තියෙන්නේ 3 වෙන්න පුළුවන්. නැතුව message 7න් ම කලින් plan කරපු එක කොටසක වෙන්නත් පුළුවන්.
ඉරානේ ඉඳන් අර ගෑනියක් ඊශ්රාල් අයට විස්තර දෙන්න ඇත්තේ මෙහෙම නෙවේ. මොකද මෙහෙම යැව්වොත් දන්නවා මේ රහස් පණිවිඩයක් කියලා.
නාවුරු codes film එකත් බලලා, Elly කොහෙන් ගැනත් හොයලා බලලා...
තයිපන් එකෙන් ගේමක් ගහන්න ත් පුළුවන් අද කාලේ...
මේක ගත්තේ චැටා ගෙන්...
# Simple substitution cipher decoder for keyword "BRIDGE"
# Step 1 – Cipher mapping
plain = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
cipher = "BRIDGEACFHJKLMNOPQSTUVWXYZ" # BRIDGE keyword mapping
# Create a dictionary for decoding
decode_map = {cipher: plain for i in range(26)}
def decode(text):
result = []
for char in text:
if char.upper() in decode_map:
decoded_char = decode_map[char.upper()]
# Preserve case
if char.islower():
result.append(decoded_char.lower())
else:
result.append(decoded_char)
else:
# Keep punctuation/spaces as is
result.append(char)
return ''.join(result)
# Step 2 – Paste your ciphertext here
ciphertext = """Rgtstcgub, tfska sdlmkkh gnbe tgd qgbvgsbce lbnkam, F gnbgbc b fbpmgb sammsb gdlldg gh tgd bqqbmgdbgs mg tgd fbtm sbdllr...
(continue with the full encoded text)
"""
# Step 3 – Decode and print
print(decode(ciphertext))
ඔන්න වැඩක් ගන්න අදහස දුන්නා. දැන් ඉතින් යහපත් වැඩ වලට මොළේ යොදවන එක ඔබේ වැඩක්.
චැටා ගේ උදව්වෙන් ලිව්වේ.
Yesterday, while strolling near the riverside market, I noticed a curious pattern in the arrangement of the fruit stalls. The bananas were stacked in neat pyramids, while the oranges formed wide circles, almost like miniature suns resting on wooden tables. A man in a grey coat stood quietly near the third stall from the bridge, glancing occasionally at a pocket watch. Nearby, two children played with a red kite, its string cutting a perfect diagonal line across the pale afternoon sky. The smell of roasted chestnuts drifted through the air, mingling with the sharp scent of freshly cut limes. A small boat passed under the bridge, its captain humming softly, though the tune was unfamiliar. At exactly 4:17 p.m., the man in the grey coat adjusted his hat and walked away in the direction of the old clock tower. I thought nothing of it at first, but later I realized the boat’s flag was upside down, and the children’s kite had a peculiar emblem stitched into its tail. Perhaps it was all just coincidence—or perhaps, like many things in this city, it was part of a quiet conversation only a few were meant to hear.
මෙහෙම යැව්වොත් බඩුවගේ බනිස් වෙන නිසා මේ වචන විනාශ කරන්න ඕනේ.
Bridge කියන වචනේ තමයි key එක විදිහට ගන්නේ උදාහරනෙකට
දැන් වචන සැකසුම හදන්න ඕනේ නව අකුරු පිළිවෙලට....
Plain: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Cipher: B R I D G E A C F H J K L M N O P Q S T U V W X Y Z
දැන් encode එක
Rgtstcgub, tfska sdlmkkh gnbe tgd qgbvgsbce lbnkam, F gnbgbc b fbpmgb sammsb gdlldg gh tgd bqqbmgdbgs mg tgd fbtm sbdllr. Tgd bbnblrr vdtd rsbck gh lgbt qbtbkbhr, vdtd tgd nqtbdr fnmb hcfbsr, bmlnrr lkdb lbfmbbsbd rbmr qdrrhkh hg vnnblm tabkr. B lbm hm b gqfr bnbl rtsc rsbck gdmr tgd tghqc rbbk fnm tgd dqhbgi, gkbnmhbh nbdbshbkkh bl b qnblsb vhbsg. Ldbqbh, twn b ghkbmbm pkbhbr mhgb h bqb khgb, hr rgrhmb cvggkbbh b tdbfbd dhbgnmkk kmbd bnnrr tgd pbkb bgbmmdrn rsh. Tgd rnbkk mf rnbdrgd rbml qbmdg tgd dqhbgi, hr qbpbhrb hmttlh, gbnnfdg tgd gmtb rbnh gbnhgb, lbnmgtgh vhg tgd rdbsg rdmg vg tbmhfkbk mkr. Bt gbzbhkh 4:17 p.m., tgd gqfr bnbl rtsc bbqlrrdb hr gbm bml vbnkdc bmc vnnkb bmkhn mh tgd nkm blnmb gbtdq. F gdnm mbsgkh mg hg bl fbrr, bml lgbdb F qbfkhrdb tgd nnnr’k fkbg vdrr vhbrch cndn, bmc tgd ghkbmbm’r khgb gdb b mdrkhtbl blbklr rghbdb hmgh hr rgrhmb. Ndbgbr hr vr brsr cn lnhbchgbmbdr—nm ldbgbr, hkbd lbnk rghbr hm ghr rbshk, hr rb qbds gh b qgbbg bnlvdqrbhmb mkkh b fbv vdqd mdmbs gb gdbr.
මේ වගේ හෑල්ලක් තමයි යවන්නේ.. කතාව කෙටියෙන් දාන තරමට කෙළවෙන්න ලේසි හින්දා බොරු වචන අලංකාර විස්තර දාලා තමයි ලියන්නේ.
මතකයි නේ wikileaks
United States diplomatic cables leak එක. ආයේ හොදි නෑ.... රෙදි ඉල්ලේ.
decode කරලා තමයි ඕනේ දේ පෙරලා ගන්නේ.... ගොඩක් වෙලාවට පණිවිඩ 1,2,3,4,5,6,7 යවලා.... ඕනේ විස්තරේ තියෙන්නේ 3 වෙන්න පුළුවන්. නැතුව message 7න් ම කලින් plan කරපු එක කොටසක වෙන්නත් පුළුවන්.
ඉරානේ ඉඳන් අර ගෑනියක් ඊශ්රාල් අයට විස්තර දෙන්න ඇත්තේ මෙහෙම නෙවේ. මොකද මෙහෙම යැව්වොත් දන්නවා මේ රහස් පණිවිඩයක් කියලා.
නාවුරු codes film එකත් බලලා, Elly කොහෙන් ගැනත් හොයලා බලලා...
තයිපන් එකෙන් ගේමක් ගහන්න ත් පුළුවන් අද කාලේ...
මේක ගත්තේ චැටා ගෙන්...
# Simple substitution cipher decoder for keyword "BRIDGE"
# Step 1 – Cipher mapping
plain = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
cipher = "BRIDGEACFHJKLMNOPQSTUVWXYZ" # BRIDGE keyword mapping
# Create a dictionary for decoding
decode_map = {cipher: plain for i in range(26)}
def decode(text):
result = []
for char in text:
if char.upper() in decode_map:
decoded_char = decode_map[char.upper()]
# Preserve case
if char.islower():
result.append(decoded_char.lower())
else:
result.append(decoded_char)
else:
# Keep punctuation/spaces as is
result.append(char)
return ''.join(result)
# Step 2 – Paste your ciphertext here
ciphertext = """Rgtstcgub, tfska sdlmkkh gnbe tgd qgbvgsbce lbnkam, F gnbgbc b fbpmgb sammsb gdlldg gh tgd bqqbmgdbgs mg tgd fbtm sbdllr...
(continue with the full encoded text)
"""
# Step 3 – Decode and print
print(decode(ciphertext))
ඔන්න වැඩක් ගන්න අදහස දුන්නා. දැන් ඉතින් යහපත් වැඩ වලට මොළේ යොදවන එක ඔබේ වැඩක්.
චැටා ගේ උදව්වෙන් ලිව්වේ.
Last edited: