Client Server Chat Application
Client Server Chat Application
ISSN: 2458-9403
Vol. 3 Issue 7, July - 2016
www.jmest.org
JMESTN42351694 5218
Journal of Multidisciplinary Engineering Science and Technology (JMEST)
ISSN: 2458-9403
Vol. 3 Issue 7, July - 2016
www.jmest.org
JMESTN42351694 5219
Journal of Multidisciplinary Engineering Science and Technology (JMEST)
ISSN: 2458-9403
Vol. 3 Issue 7, July - 2016
www.jmest.org
JMESTN42351694 5220
Journal of Multidisciplinary Engineering Science and Technology (JMEST)
ISSN: 2458-9403
Vol. 3 Issue 7, July - 2016
Fig. 13 Generation of RSA key and caching in XML files. Message transmission occurs in the following
manner. User logs in, user creates its own public key
and private RSA key and caches them locally, while
Encrypting and decrypting with AES is done by
the code below. the public key is forwarded to the server. Server
writes the public key in an xml format file, caches it
inside a directory and forwards all public keys to the
other users connected at that time. Server will store
all public keys of all users.
For being able to communicate each user will
select from the list another user, will write the
message. In the moment user will choose send
option from the chat panel, the message will be
encrypted using AES encrypting method, then by
using the destinations public key RSA algorithm is
applied to the AES message, the key and the VI.
These data are now transmitted to the Server. Server
receives the data, does not perform any action other
than transferring them to the destination (name of the
destination is also transmitted in order for the Server
to be able to forward the message). The destination
decrypts the data with the private key, then using the
key and the VI it decrypts the whole AES encrypted
message.
Fig. 14 Encrypting with AES
www.jmest.org
JMESTN42351694 5221
Journal of Multidisciplinary Engineering Science and Technology (JMEST)
ISSN: 2458-9403
Vol. 3 Issue 7, July - 2016
III. CONCLUSIONS
www.jmest.org
JMESTN42351694 5222
Journal of Multidisciplinary Engineering Science and Technology (JMEST)
ISSN: 2458-9403
Vol. 3 Issue 7, July - 2016
www.jmest.org
JMESTN42351694 5223