+ All Categories
Home > Documents > ChatCrypt

ChatCrypt

Date post: 03-Jul-2015
Category:
Upload: maninda-edirisooriya
View: 320 times
Download: 2 times
Share this document with a friend
Description:
A JavaScript based online chat encryption addon for Google Chrome
18
Maninda Edirisooriya
Transcript
Page 1: ChatCrypt

Maninda Edirisooriya

Page 2: ChatCrypt

Introduction Extension for Google Chrome.

Privacy protection system for online chat.

Encrypts chat text using 128 bit AES.

Decrypts at the receiver.

Common password for both users.

Page 3: ChatCrypt

Motivation No existing cheap solution.

Lot of Information analyzers in use for advertisements.

No freedom against governments – filter key words

For people who do not trust on servers. (Like me )

Page 4: ChatCrypt

Design and Implementation Design – JavaScript and HTML

Run as an extension in web browser – In Application Layer.

Page 5: ChatCrypt

Design and Implementation At each end Encryption/Decryption occurs.

Cipher text in Base-64 encoded is sent via network.

Page 6: ChatCrypt

Design and Implementation Encryption – change text to Base-64

Decryption – show text in tooltip and copy to clipboard.

Page 7: ChatCrypt

Design and ImplementationSetting Password

Step 1 – Convert password to ASCII numeric

Step 2 – Get MD5 digest of ASCII as key.

Encryption

Step 1 – Identify the text box in focus and convert the text string to ASCII numeric

Step 2 – Break it into 128 bit blocks. Assign nulls for padding.

Step 3 – Apply AES 128 block cipher using key.

Page 8: ChatCrypt

Design and Implementation Step 4 – Convert encrypted numeric values to base 64

character encoding.

Step 5 – Replace original string with this. This will be sent via server.

Decryption

Step 1 – Select received text and convert to numeric values.

Step 2 – Break into blocks.

Page 9: ChatCrypt

Design and Implementation Step 3 – Apply AES 128 decryption to each set of

blocks.

Step 4 – Remove padding nulls from the result.

Step 5 – Convert to ASCII characters and show in a tooltip while copying it to clipboard.

Ending Session

Replace the variables with key value with another value.

Page 10: ChatCrypt

Demonstration Start a session – enter password

Enter again.

Page 11: ChatCrypt

Demonstration If passwords are not matching or

Empty password – Error

Page 12: ChatCrypt

Demonstration When want to chat type and press Alt + z or

Select “Encrypt Text” from menu.

Alt + z

or

Page 13: ChatCrypt

Demonstration At receiver’s end – select text and press Alt +d or

Select “Decrypt Text” from menu.

Page 14: ChatCrypt

Demonstration Can be used without a chat box – Real Time Mode

Select “Real Time” from menu.

Page 15: ChatCrypt

Demonstration Other features – Google bubble translator and

Password generator.

Page 16: ChatCrypt

Demonstration When want to end conversation – End Session

Select “End Session” from menu and confirm.

Page 17: ChatCrypt

Conclusion Simple and cheap way to communicate confidentially.

But impossible to send emoticons.

No key sharing mechanism.

AES 128 simple cipher is vulnerable to language statistics based attacks.

Therefore

Could and should be developed more for commercial use.

Page 18: ChatCrypt

Questions and Answers

Any Questions ?