java version working
working on public private key sharing