Search:

Type: Posts; User: Paytheprice

Search: Search took 0.09 seconds.

  1. Re: my encrypting simple client to server program unable to get the key from client

    i am getting bytes cannot be dereferenced
  2. Re: my encrypting simple client to server program unable to get the key from client

    nah i am asking how do i copy the value of the byte array to another byte array using a for loop
  3. Re: my encrypting simple client to server program unable to get the key from client

    ok i found the error here




    these code does not transfer the value of the byte to encryptedobj somehow.. any ideas on how to fix it?

    thanks for the help so far.
  4. Re: my encrypting simple client to server program unable to get the key from client

    ok sorry here the error





    the problem is sending the decrypting the AESKey after being encrypted with rsa private and public key from certificate
  5. Re: my encrypting simple client to server program unable to get the key from client

    17331734

    heres both of them.

    System.out.println("fufiffofo");
    //decrypt it
    byte[] aesobj=DecryptRSA(ServerPriv,serverCert.getPublicKey(),encryptedobj);...
  6. my encrypting simple client to server program unable to get the key from client

    hi,

    so currently i am still trying the send the aes key encrypted with private and public key from keystore but it keep java.crypto.badpaddingexception blocktype mismatch:0
    nullpointerexception
    ...
Results 1 to 6 of 6