Jump to content
Fi8sVrs

Chatroom Client / Server With AES Encryption Support

Recommended Posts

  • Active Members

README FILE: CHATROOM Server Daemon AND CLIENT - AES 128 bit Encryption Support

Programming Languages: C and Java

Description: This is a chat system composed of a TCP/IP server daemon and its corresponding java client. You can chat with other peers in clear text or AES password based encryption on your own computer network. The AES password encryption and decryption is based on 128 bit key which is padded using SHA-256 applied to the provided password.

REQUIREMENT:

  • JDK at least version 8
  • GCC (GNU C Compiler with standard libraries)
  • Make utility (For Compilation of both java and c program)
  • Operating System of Server: Unix / Linux
  • Operating System of client-user: ANY OS that has at least JRE or JDK 8
  • You can send a chat invitation to anyone by e-mail and attaching the generated .jar java executable (See next instructions). Your client will need at least java version 8.

INSTALL:

To install javac,java and jar on Unix / Linux: Download jdk, extract jdk and issue the following commands as root:

ln -s /path/to/jdk/bin/java /usr/bin/java
ln -s /path/to/jdk/bin/jar /usr/bin/jar
ln -s /path/to/jdk/bin/javac /usr/bin/javac

Install gcc using your package manager.

Compile and run Server and Client:

make
./chatd
java -jar chatclient.jar

Download

Source

  • Upvote 1
Link to comment
Share on other sites

  • Active Members
nu am treaba cu linux-ul ma poate ajuta cineva cu chatul acesta? vreau sa-l hostez intr-un virtual

README:

REQUIREMENT:
JDK at least version 8
GCC (GNU C Compiler with standard libraries)
Make utility (For Compilation of both java and c program)
Operating System of Server: Unix / Linux
Operating System of client-user: ANY OS that has at least JRE or JDK 8
You can send a chat invitation to anyone by e-mail and attaching the generated .jar java executable (See next instructions). Your client will need at least java version 8.

INSTALL:
To install javac,java and jar on Unix / Linux: Download jdk, extract jdk and issue the following commands as root:

ln -s /path/to/jdk/bin/java /usr/bin/java
ln -s /path/to/jdk/bin/jar /usr/bin/jar
ln -s /path/to/jdk/bin/javac /usr/bin/javac

Install "gcc" and "make" tool using your package manager.

Compile and run Server and Client:
make
./chatd
java -jar chatclient.jar

Send the "chatclient.jar" executable to anyone who have at least JRE 8 and tell them to connect where you executed "./chatd".

If you want to communicate securely (if you really want to make sure no-body is reading your content) then tell your peer through other secured means (like hard-copy paper or pgp / email) to use the password of your choice and enter it on the password field of the User Interface before sending any message.

EOF

Link to comment
Share on other sites

I am facing an error when I used it


s@debian:~/Desktop/chatroom_source$ make
rm -f chat/tcptest/*
javac *.java -d chat
window1.java:108: error: cannot find symbol
this.output2 = Base64.getEncoder().encode(this.output);
^
symbol: variable Base64
location: class window1
window1.java:313: error: cannot find symbol
(Base64.getDecoder().decode(new String(b2,0,item))),
^
symbol: variable Base64
location: class window1
2 errors
make: *** [chatclient.jar] Error 1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...