(text)
| 77 | return base64.b64encode(ciphertext).decode() |
| 78 | |
| 79 | def encode_phone(text): |
| 80 | return ''.join(chr(ord(char) + 2) for char in text) |
| 81 | |
| 82 | def generate_random_string(length=16): |
| 83 | return ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(length)) |