Search:

Type: Posts; User: TheSPk

Search: Search took 0.10 seconds.

  1. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    yeah, that gave me an error, I took it out and boom everything worked, the 3 are separate for the moment, but all should work.

    --- Update ---

    run the serverkeygen first, then the client random...
  2. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    import java.io.*;
    import java.security.*;


    import javax.crypto.*;


    public class ClientSecretKeyEncryption
    {
    protected static final String ALGORITHM = "RSA";
  3. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    Gonna have to confess here, I dont really know how to setup that path idea you had, the hardcoding is all I need to do for the project.
  4. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    cheers for the help dude, but time is ticking on here, im gonna conclude for the night and pick it up in the morning.
  5. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    ok ill change them all to just one folder, this is the directory ill be using "C:/Client/" so u can add the client folder there.

    --- Update ---




    /*...
  6. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    yeah sorry about that, but the paths are essential to the project, its not a lot of directories, just 2- a folder called "Client" and a folder called "Server", if your using a mac you can add these...
  7. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    import java.io.*;
    import java.security.*;
    import javax.crypto.*;

    public class ServerRSAKeyGen
    {
    public static void main(String args[]) {
  8. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    any other suggestions?, head is wrecked with it at this stage, it seems so simple, yet it refuses to cooperate.
  9. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    Thats what I had done, I did it again just for peace of mind but it is the same result as before.
  10. Replies
    20
    Views
    4,275

    Re: Problem Encrypting a secret key

    Well not sure what you meant by "adjust" so I assumed that I needed to get the latest. I downloaded this and put them into the right folder making sure to replace the old ones. Unfortunately this did...
  11. Replies
    20
    Views
    4,275

    Problem Encrypting a secret key

    Hows it going, I have generated a secret key using AES encryption, which is working perfectly. Now I intend the to encrypt that key using an RSA public key that i have generated elsewhere. Ive tried...
Results 1 to 11 of 11