twistedphrame 0 Newbie Poster

Hi everyone,

I'm looking to write a server/client negotiation which involves both the server and client choosing a random number, sending it to one another, then generating a string using the two random numbers and some other previously found information. Using the hash of this string the client and server both generate stream ciphers with the hash as their key in order to communicate with one another. I've been looking at the api's for the java cryptography packages and I haven't been able to find anything that looks like it would allow me to initialize ciphers in the fashion. I've done this previously in python, but the initialization in java is obviously a bit more complicated.

Any help would be much appriciated,
~twistedphrame.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.