Skip to content

A Java implementation of a Secure Channel in Socket Programming in the context of a simple ebanking prototype.

Notifications You must be signed in to change notification settings

0xfabiof/SafePicoBanking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SafePicoBanking

A Java implementation of a Secure Channel in Socket Programming in the context of a simple ebanking prototype.

Full report in Portuguese available here

Secure Channel

  • Diffie-Hellman Key Agreement with Signature from the Server

  • Client verifies the signature using a X509 encoded Certificate

  • Computation of a Shared Key

  • Usage of AES CBC Mode to ensure communication confidentiality

  • Usage of HMAC256 to ensure communication integrity and autenticity

Usage

Compile lines:

Server (compile): 
 
  javac -cp commons-codec-1.7.jar server.java 
 
Client (compile): 
 
  javac -cp commons-codec-1.7.jar client.java 
  

Run lines:

Server (execute): 
 
  java -cp :commons-codec-1.7.jar server 
 
Client (execute): 
 
  java -cp :commons-codec-1.7.jar client 
  

About

A Java implementation of a Secure Channel in Socket Programming in the context of a simple ebanking prototype.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages