Адр3н@лин0вый
local_user or local
Fiji

:peppinoP:

def split_len(seq, length):
return [seq[i:i + length] for i in range(0, len(seq), length)]
def encode(key, plaintext):
order = {
int(val): num for num, val in enumerate(key)
}
ciphertext = ''

for index in sorted(order.keys()):
for part in split_len(plaintext, len(key)):
try:ciphertext += part[order[index]]
except IndexError:
continue
return ciphertext
print(encode('3214', 'HELLO'))

:peppinoP:

def split_len(seq, length):
return [seq[i:i + length] for i in range(0, len(seq), length)]
def encode(key, plaintext):
order = {
int(val): num for num, val in enumerate(key)
}
ciphertext = ''

for index in sorted(order.keys()):
for part in split_len(plaintext, len(key)):
try:ciphertext += part[order[index]]
except IndexError:
continue
return ciphertext
print(encode('3214', 'HELLO'))
Currently Offline
?
:wally:
Favorite Game
1.7
Hours played
Screenshot Showcase
1 Aug, 2025 @ 6:36pm 
denchik on the line epta
15 Jul, 2025 @ 1:09pm 
Я буду устанавливать все игры..:wally::atafist:
18 Mar, 2025 @ 4:01pm 
+rep
6 Jan, 2025 @ 1:51pm 
cheater and son of bi tch
4 Feb, 2024 @ 3:37pm 
▒▒██████████████████▒▒
▒▐███▀▀▀▀▀██▀▀▀▀▀███▌▒
▒███▒▒▌■▐▒▒▒▒▌■▐▒▒███▒
▒▐██▄▒▀▀▀▒▒▒▒▀▀▀▒▄██▌▒
▒▒▀████▒▄▄▒▒▄▄▒████▀▒▒
▒▒▐███▒▒▒▀▒▒▀▒▒▒███▌▒▒
▒▒███▒▒▒▒▒▒▒▒▒▒▒▒███▒▒
▒▒▒██▒▒▀▀▀▀▀▀▀▀▒▒██▒▒▒
▒▒▒▐██▄▒▒▒▒▒▒▒▒▄██▌▒▒▒
░░▄▄▓▀▀░░░░░░░▒▒▒▀▀▀▓▄░
░▐▓▒░░▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▓
░▐▓░█░░░░░░░░▄░░░░░░░░█░
░▐▓░█░░░(◐)░░▄█▄░░(◐)░░░█
░▐▓░░▀█▄▄▄▄█▀░▀█▄▄▄▄█▀░
18 Jan, 2024 @ 2:16pm 
:peppinoeyes: