doganckaratas / JTelegram

1 stars 2 forks source link

I started writing my own J2ME Telegram implementation #1

Open faissaloo opened 4 years ago

faissaloo commented 4 years ago

I got a good chunk of the way through the authentication process but I don't know if I'm going to keep going with it since I've hit a roadblock with https://github.com/tdlib/td/issues/1086, you might want to use some stuff from it: https://github.com/faissaloo/telegram-lite
It has a full (and very fast) implementation of prime decomposition, AES 256 in IGE mode and a fully fledged custom test framework. You might also find the following Stackoverflow useful:
https://stackoverflow.com/questions/30661644/how-to-implement-authorization-using-a-telegram-api/32809138#32809138

doganckaratas commented 4 years ago

Currently I have no resources for (re)implementing encryption for these devices unfortunately, this was needed to me for using in limited environment and it just worked for me crudely, but I'll take a look at bouncycastle and proper encryption for S40 later.