Problems turning bytes back into a des key

hi there-
i'm writing a client/server application the uses encryption to send files back and forth. i have been able to get my program to receive certificates from the client and server. i have generated a des key using:
KeyGenerator kg = KeyGenerator.getInstance("DES");
java.security.Key secretkey = kg.generateKey();
and I want to send that to the server, encrypted with the public key. i'm trying to do it like this:
Cipher cipher = Cipher.getInstance("RSA");
cipher.init ( Cipher.ENCRYPT_MODE, key); //key is the public key
theBytes [] = secretkey.getEncoded(); //send secretkey
bytesEncrypted [] = cipher.doFinal(theBytes);
outToServer.writeInt(bytesEncrypted.length);
outToServer.write(bytesEncrypted);
the problem is, once i transmit the des key and decrypt it with the private key, i dont know how to turn it back into a des key from the bytes. can someone help me out bigtime and let me know how i can go about doing this?
thanks a bunch!

In followup to my previous reply, here is the sample code.
import java.security.spec.KeySpec;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
public class SecretKeyTest {
     public static void main(String[] args) throws Exception {
          System.out.println(System.getProperty("java.version"));
          KeyGenerator kg = KeyGenerator.getInstance("DES", "SunJCE");
          SecretKey sk1 = kg.generateKey();
          System.out.println(sk1);
          byte [] sk1Bytes = sk1.getEncoded();
          SecretKeyFactory skf = SecretKeyFactory.getInstance("DES");
          KeySpec spec = new DESKeySpec(sk1Bytes);
          SecretKey sk2 = skf.generateSecret(spec);
          System.out.println(sk1.equals(sk2) ? "Equal" : "Not Equal");
}

Similar Messages

  • Problem to insert id into the foreign key  php/mysql

    Hello all,
    I'm having rouble to understand the process and there is no tutorial about my problem anywhere
    I have two table:
    Table 1 (member) with id, name, phone etc
    Table2 (post) add_id, title, description, price, member_id
    I got a form to post the add and I need to insert the id of table 1 into my table 2 member_id zone
    Fisrt I did the recorset to get user id
    $colname_rsMember = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsMember = $_SESSION['MM_Username'];
    mysql_select_db($database_connect, $connect);
    $query_rsMember = sprintf("SELECT * FROM member WHERE username='".$_SESSION['MM_Username']."'")or die(mysql_error());
    $rsMember = mysql_query($query_rsMember, $connect) or die(mysql_error());
    $row_rsMember = mysql_fetch_assoc($rsMember);
    $totalRows_rsMember = mysql_num_rows($rsMember);
    This part is working and I'm able to retreive info via echo just for testing
    After this code I have my insert code
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form2")) {
      $insertSQL = sprintf("INSERT INTO add (title, `description`, price, member_id) VALUES (%s, %s, %s, %s)",
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['description'], "text"),
                           GetSQLValueString($_POST['price'], "text"),
                           GetSQLValueString($_POST['member_id'], "int"));
      mysql_select_db($database_connect, $connect);
      $Result1 = mysql_query($insertSQL, $connect) or die(mysql_error());
      $insertGoTo = "ok.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    Do I need to include hidden field in y form?
    I'm having the same error message. Col member_id can't not be null
    Any idea what I'm doing wrong?
    Thank You!

    When someone logs in, Dreamweaver creates a session variable called $_SESSION['MM_Username']. Use that session variable to create a recordset to get the user's ID, which can then be entered into the foreign key field of the child table.
    Dreamweaver automatically puts the code for recordsets immediately above the DOCTYPE declaration, so you will need to move it above the code for the Insert Record server behavior. So, it needs to be in this order:
    Recordset to get user ID
    Insert Record for child table

  • Turn byte array into file

    hi,
    I got a byte array from a file and want to turn it into a file, so i can access it thru the operating system.
    byte[] lop = rs.getBytes("data");
    can anyone give any help, or a good tutorial to do this.

    Check out the API docs for the FileOutputStream class and pay special attention to its
    write(byte[]) method.
    kind regards,
    Jos

  • Turning Letterbox back into Anamorphic

    Hello everyone. I've been working on a 16:9 SD project and I'm afraid I've edited myself into a corner. My producers wanted to see the project in letterbox format as we were editing the material together. However the final form of the video will be full screen anamorphic to be played back on a 16:9 plasma screen in a booth. So now that I'm almost finish with the project, how can I export it in full screen anamorphic for the DVD? Is there a easy (or even semi easy) way to do this or have I really screwed myself & have to assemble the edit from scratch? Thanks in advance.

    Sounds like your footage is 16:9 anamorphic. If so, DON'T scale up your letterboxed clips. They will suffer a significant quality loss. it is easy to convert the sequence and video clips to anamorphic with just a feww clicks.
    duplicate your sequence
    change the settings of that sequence to anamorphic - your video will now appear letterboxed within the 16:9 frame - don't worry
    select all the video clips and choose "remove attributes" from the context menu -remove basic motion and distort - if the clips had previously been ID'ed as anamorphic, they will all go back to full frame anamorphic. voila!
    You might have to reposition any titles or still images, etc, but all your video will be able to resized in this way/.

  • Problems turning Illustrator pages into PDFs at the SAME SIZE...?

    Something weird is happening for me, when I attempt to turn Illustrator layouts in PDFs or maybe it's "normal" for Acrobat to do this, but I don't like it and I want to fix it...
    I have a page laid out in Illustrator. It's RGB, 1024x768 pixels in size, and has various JPGs at 72dpi placed on the page, and it has text on it too.
    Everything is laid out pixel-perfect, and when I view it at 100% size in Illustrator, that's the size I want to the PDF to be as well, when the PDF is viewed at 100% size. The PDF is going to be viewed on-screen and the images contained in the file have various lines and suchlike in it that absolutely have to be viewed at 100% size, or they appear all blurry.
    So I have my Illustrator document, at 100% size, and it looks perfect. I go to File > Save A Copy and save a version of it as a PDF.
    I use the Illustrator Default settings (which, when I go through them all one by one, would indicate to me nothing about a file size conversion, no downsampling, etc.) and my PDF is generated.
    However... when I then open up the PDF file in Acrobat Professional, the page it has created is way larger than my Illustrator page. So if I view my new PDF at 100% size, not only has the 72dpi image gone all blurry, but the boundaries of the page extend off the edge of my screen.
    I would hazard a guess that in order to get my PDF to appear at the size it *should* be, I have to view it in Acrobat at *about* 75% - but the images are still blurry, because of the re-sizing.
    So all I'm asking is for a simple way to get what's in Illustrator to convert to PDF at the same size.
    Surely there must be a way?
    Any help anyone?
    I'm using Illustrator CS3 13.0.2 and Acrobat Professional 8.1.2, running on Mac OS X 10.5.2 on Intel.

    > You can't. Well, YOU can, by adjusting your resolution setting in Acrobat...
    >No, even *I* can't. *MY* views in Acrobat and Illustrator of the SAME document, when BOTH viewed at 100% are DIFFERENT sizes.
    Because you haven't adjusted your resolution settings.
    >And what do you mean by "adjusting your resolution setting in Acrobat" anyway? I *assume* you mean by adjust your view magnification settings?
    No, that is your current magnification. Your resolution is set in the
    "page display" section of Acrobat's preferences. Each user can set it
    differently.
    >But if I lay out a document or image intended for print in InDesign or Quark or Photoshop, the way I see it when I view it 100% size will be exactly the same as anyone else on any other computer will see it when viewed at 100% size.
    Not in Acrobat.
    > Acrobat is also used to create on-screen presentations, complete with hyperlinks and page transitions options, which obviously have no use in the print world.
    Indeed. And people have free choice of how to view them. What you
    can't do is do pixel-level design. You can control the open options,
    like what magnification, whether the full page is visible, but you
    can't control how many pixels that uses, so you cannot match it to
    some other application.
    Aandi Inston

  • HT1473 I recently had to restore my laptop back to factory settings and lost my itunes music. I have imported all my cds again but i have some music on my ipad mini and am having problems importing this back into my itunes file. please help as this is dri

    I have recently reset my laptop to factory settings and whilst doing so have lost my music files. I have uploaded my cds but am having trouble moving music from my ipad mini back to music file or itunes.

    iTunes sync is one way from iTunes library to an iOS device.
    You will need third party software such as TouchCopy to transfer from iOS to your computer.

  • I scanned some black and white negatives into my computer (iMac) where they were stored aas positives on the hard disc. When I import them to iPhoto they turn back into negatives. How do I change them into positives for printing?

    I have scanned some black and white negatives into my computer(iMac) where they are stored on the hard disc as positives.When I import them into iPhoto to print they turn back into negatives.How do I turn them back into positives?

    That's because you scanned them as B/W photos and iPhoto 08 doesn't support the grayscale color profile.  You can either rescan them as color photos or export them as originals out of iPhoto to a folder on the desktop and applhy this Automator application, Convert to JPG and Embed sRGB Profile, on them and then remimport into iPhoto. You can download it from  Toad's Cellar .  Be sure to read the warning on the website about not applying it on your only copies.
    OT

  • Is there any way to turn missing photos back into printable jpegs?

    Using LR 5.  Lost about 1500 jPeg images due to corrupted disk drive.  However, LR5 still displays a remarkably sharp image under "missing photos".  Is there any way to turn these back into printable jpegs?  These are family vacation photos that had not yet been backed up to additional drives.  

    You want to extract LR previews as images.  Googling for this shows several links:
    http://helpx.adobe.com/lightroom/kb/extract-previews-lightroom-4.html
    http://regex.info/blog/lightroom-goodies/preview-extraction
    http://photo.bragit.com/Lightroom/articles/RecoverFromPreview.shtml
    http://lightroomsolutions.com/extract-previews-in-lightroom-4/
    http://www.robcole.com/Rob/ProductsAndServices/PreviewExporterLrPlugin/

  • Can you convert a 3D object back into a 2D layer?

    I am drawing out a map of a world and need to design the poles while the layer is in a 3D sphere to prevent distortion. In CS5, I would turn the layer into a 3D.sphere, draw on it to map out the land masses, then turn it back into a 2D layer and refine. However, I can't seem to do this on CS6. Is there a way for me to do that?
    Thank you.

    double click on the sub layer of the 3d layer in the layer panel.  This should open the diffuse layer that you're working on.

  • Converting a byte[] back to key problem

    I CAN create a key and convert the key to a byte array, then convert the array to a string(base 64):
    KeyGenerator generator = KeyGenerator.getInstance("DES");
    generator.init(new SecureRandom());
    key = generator.generateKey();
    byte[] keyBytes = key.getEncoded;
    BASE64Encoder encoder = new BASE64Encoder();
    String randomKey = encoder.encode(keyBytes);
    and I CAN save that string to a database, forget about it, then sometime later reload it and convert it to a byte array again:
    String loadedKey = "WhAt3Ver-It-I5" //from DB
    BASE64Decoder decoder = new BASE64Decoder();
    byte[] loadedKeyBytes = decoder.decodeBuffer(loadedKey);
    what I CAN'T do is convert the loadedKeyBytes back into the key of the same type as it was originally, enabling me to decrypt whatever that key originally encrypted.
    Does anyone know.
    I know I need to convert it to a KeySpec, I presume as:
    DESKeySpec keySpec = new DESKeySpec(loadedKeyBytes);
    this compiles correctly.... but how do i then recreate the key so i can use it for decryption.
    Once i've finished this test program I should be able to port it to my application.
    Many thanks in advance guys!
    Cheers!
    Relisys
    ================ CODE FOLLOWS ======================
    import java.io.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import com.sun.crypto.provider.SunJCE;
    import sun.misc.*;
    public class SecPrescrip {
    public static void main(String[] args) throws Exception {
    // Create Key.
    Key key;
    KeyGenerator generator = KeyGenerator.getInstance("DES");
    generator.init(new SecureRandom());
    key = generator.generateKey();
    // Get a cipher object
    Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding");
    // Encrypt the input string:
    cipher.init(Cipher.ENCRYPT_MODE, key);
    String input = "Medicare Secure Prescription: 30 Tamazopan 200mg tablets. Dosage: 1 to be taken every 4 hours";
    System.out.println("Stage 1: ENCRYPT PRESCRIPTION WITH A RANDOM DES KEY");
    System.out.println("===================================================");
    System.out.println(" - Input Plain Text: "+input);
    System.out.println("");
    byte[] stringBytes = input.getBytes("UTF8");
    byte[] raw = cipher.doFinal(stringBytes);
    BASE64Encoder encoder = new BASE64Encoder();
    String ciphertext1 = encoder.encode(raw);
    System.out.println(" - Cipher Text: "+ciphertext1);
    System.out.println("");
    byte[] keybytes = key.getEncoded();
    String randomkey = encoder.encode(keybytes);
    System.out.println(" - Random Prescription Key: "+randomkey);
    System.out.println("");
    System.out.println("ENCRYPTION SUCESSFULL");
    System.out.println("");
    System.out.println("");
    System.out.println("Stage 2: ENCRYPT RANDOM KEY WITH PATIENT MEDICARE KEY");
    System.out.println("=====================================================");
    BASE64Decoder decoder = new BASE64Decoder();
    String passphrase = "ABCD1234efghIJ56"; //Patient Medicare Key
    System.out.println(" - Patient Medicare Key: "+passphrase);
    System.out.println("");
    System.out.println(" - Input Plain Text: "+randomkey);
    String algorithm = "PBEWithMD5AndDES";
    byte[] salt = new byte[8];
    int iteration = 20;
    KeySpec ks = new PBEKeySpec(passphrase.toCharArray());
    SecretKeyFactory skf = SecretKeyFactory.getInstance(algorithm);
    SecretKey key2 = skf.generateSecret(ks);
    byte[] input2 = decoder.decodeBuffer(randomkey);
    MessageDigest md = MessageDigest.getInstance("MD5");
    md.update(passphrase.getBytes());
    md.update(input2);
    byte[] digest = md.digest();
    System.arraycopy(digest, 0, salt, 0, 8);
    AlgorithmParameterSpec aps = new PBEParameterSpec(salt, iteration);
    cipher = Cipher.getInstance(algorithm);
    cipher.init(Cipher.ENCRYPT_MODE, key2, aps);
    byte[] outputFinalKey = cipher.doFinal(input2);
    String ciphertext2 = encoder.encode(outputFinalKey);
    String saltString = encoder.encode(salt);
    String encryptedCiphertext = saltString+ciphertext2;
    System.out.println("");
    System.out.println(" - Cipher Text (Final Prescription Key): "+ciphertext2);
    System.out.println("");
    System.out.println(" - Salt: "+saltString);
    System.out.println("");
    System.out.println(" - Full Encrypted Output: "+encryptedCiphertext);
    System.out.println("");
    System.out.println("ENCRYPTION SUCESSFULL");
    System.out.println("");
    System.out.println("");
    System.out.println("Stage 3: DECRYPT PRESCRIPTION KEY USING PATIENT MEDICARE KEY");
    System.out.println("============================================================");
    //NOT CHANGED String passphrase = "ABCD1234efghIJ56";
    System.out.println(" - Patient Medicare Key: "+passphrase);
    System.out.println("");
    System.out.println(" - Input Plain Text: "+ciphertext2);
    algorithm = "PBEWithMD5AndDES";
    salt = new byte[8];
    iteration = 20;
    ks = new PBEKeySpec(passphrase.toCharArray());
    skf = SecretKeyFactory.getInstance(algorithm);
    SecretKey key3 = skf.generateSecret(ks);
    //Load in the input bytes as if they had been loaded from an sql database or the like
    String saltIn = encryptedCiphertext.substring(0,12);
    String ciphertext3 = encryptedCiphertext.substring(12,encryptedCiphertext.length());
    byte[] saltArray = decoder.decodeBuffer(saltIn);
    byte[] ciphertextarray = decoder.decodeBuffer(ciphertext3);
    aps = new PBEParameterSpec(saltArray, iteration);
    cipher = Cipher.getInstance(algorithm);
    cipher.init(Cipher.DECRYPT_MODE, key3, aps);
    byte[] outputKey2 = cipher.doFinal(ciphertextarray);
    String plaintext2 = encoder.encode(outputKey2);
    System.out.println(" - Plain Text (Random Generated Key): "+plaintext2);
    System.out.println("");
    System.out.println("");
    System.out.println("ENCRYPTION SUCESSFULL");
    System.out.println("");
    System.out.println("");
    System.out.println("Stage 4: DECRYPT PRESCRIPTION KEY USING PATIENT MEDICARE KEY");
    System.out.println("============================================================");
    // The decrypter string plaintext should be the same as the BASE64 Encoded representation of the random DES string
    byte[] randomKeyFetched = decoder.decodeBuffer(plaintext2);
    generator = KeyGenerator.getInstance("DES");
    DESKeySpec keyspec = new DESKeySpec(randomKeyFetched);
    * Stuck here! Once the key is reformed it will be complete!
    }

    You need to use a SecretKeyFactory to convert the byte array back to a SecretKey to use in decryption. Continuing your example:
    SecretKeyFactory skf = SecretKeyFactory.getInstance("DES");
    DESKeySpec desKeySpec = new DESKeySpec(loadedKeyBytes);
    SecretKey sk = skf.generateSecret(desKeySpec);
    Use sk in the call to the Cipher init() function. (Note that you don't call KeyGenerator to restore a key from its bytes.)
    Incidently, if you're using ECB mode for encryption I don't think you need to worry about the Initialization Vector. However, if you're using CBC mode (which is the default DES mode for the default SunJCE provider), I believe you also have to make sure that the decryption system starts from the same Initialization Vector that was used for encryption. To deal with this, if 'cipher' is your encryption Cipher object, then you call
    byte bytIV[] = cipher.getIV();
    to get the 8-byte IV array. To decrypt, you need to call:
    IvParameterSpec iv = new IvParameterSpec(bytIV);
    This is an AlgorithmParameterSpec, and can be used as the third argument to the init() function for Cipher to set up decryption, e.g.
    Cipher cd = Cipher.getInstance("DES/ECB/PKCS5Padding");
    cd.init(Cipher.DECRYPT_MODE, sk, iv);
    I believe that CBC mode is more secure than ECB mode when you have more than 8 bytes of material to encode (e.g. use "DES/CBC/PKCS5Padding"
    when you create the Cipher objects).
    To simplify things a bit, you might just want to use a fixed 8-byte Initialization Vector by constructing a IvParameterSpec and using it for all DES encryption and decryption.
    The documentation on all of this is extraodinarily obscure.

  • Converting a byte array or hex string  into DES key

    i required to covert a hex represented of DES key into key object for cryptography operation to performed ...
    can you help me to find out how to convert a hex representaion of key int DES key object

    hi friend,
    I think the key size is more than the required size. For DES algorithm, the key size is 64 bit long.But the code u have given has more than 64 bit, because of which this exception has been raised.
    Reduce the key value to 64bit and try. If it doesnt work,try the code given below .I think it might be helpful for u
    import javax.crypto.*;
    import javax.crypto.spec.*;
    public class Cryption
         public byte[] encrypt(byte[] keyData,byte[] clearMessage)
              try
                   SecretKeySpec sks = new SecretKeySpec(keyData,"DES");
                   Cipher c = Cipher.getInstance ("DES");
                   c.init(Cipher.ENCRYPT_MODE,sks);
                   byte[] encryptedMessage = c.doFinal(clearMessage);
                   return encryptedMessage;
              catch(Exception e)
                   e.printStackTrace();
              return null;
         public byte[] decrypt(byte[] keyData,byte[] cipherMessage)
              try
                   SecretKeySpec sks = new SecretKeySpec(keyData,"DES");
                   Cipher c = Cipher.getInstance ("DES");
                   c.init(Cipher.DECRYPT_MODE,sks);
                   byte[] decryptedMessage = c.doFinal(cipherMessage);
                   return decryptedMessage;
              catch(Exception e)
                   e.printStackTrace();
              return null;
         public static void main(String[] args)
              String keyString = "ABCDEF12";
              byte keyValue[] = keyString.getBytes();
              Cryption encryption = new Cryption();
              String Message = "Hello Welcome to world of Cryptography";
              System.out.println("Key Value (represented in HEX form): "+keyString);
              System.out.println("Key Value (represented in byte array form): "+keyValue);
              System.out.println("Original Message : "+Message);
              byte[] encryptedMessage = encryption.encrypt(keyValue,Message.getBytes());
              System.out.println("Encrypted Message : "+new String(encryptedMessage));
              Cryption decryption = new Cryption();
              byte[] decryptedMessage = decryption.decrypt(keyValue,encryptedMessage);
              System.out.println("Decrypted Message : "+new String(decryptedMessage));
    output :
    Key Value (represented in HEX form): ABCDEF12
    Key Value (represented in byte array form): [B@43c749
    Original Message : Hello Welcome to world of Cryptography
    Encrypted Message : "O3�?�M�,����������,�]�3�����R�?>C$
    Decrypted Message : Hello Welcome to world of Cryptography
    whenever u use any algorithm, first findout the key size or range that algorithm supports. It is very important
    regards,
    Deepa Raghuraman

  • My Macbook Pro just randomly shuts down and I have to plug it into power to be able to turn it back on. Anybody got any suggestions?

    My Macbook Pro just randomly shuts down and I have to plug it into power to be able to turn it back on. Anybody got any suggestions?

    Troubleshooting: My computer won't turn on
    Power or other problems related to unexpected system sleep, shutdown, lights or fans call for an SMC reset. Read all the steps.
    Before Resetting the SMC
    Try each of the following steps in this order before you reset the SMC. Test the issue after completing each troubleshooting step to determine if the issue still occurs.
    Press Command + Option + Escape to force quit any application that is not responding.
    Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if it's not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new

    Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new tab and Command W to close it, and my other tabs are visible.
    I have tried shutting down, closing tabs, with no success.  What's going on and how can I fix it?
    Thanks,
    Cindi B
    PS:  I'm not sure of the actual OS level, but I have not allowed it to upgrade to Maverick yet; concerned about it because of a few things I've read...

    A Safari extension or third party plugin may be causing the menu bar issue.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    As for which OS X is installed.
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.
    v10.6 Snow Leopard v10.7 Lion  v10.8 Mountain Lion
    It's your choice whether or not to upgrade to Mavericks. If you decide to do this, make sure your Mac meets the requirements noted here.

  • Any way to turn one of the top keys into a "launchpad" key?

    Just wanted to know if there was a way to turn one of my Early 2011 Macbook Pro's top keys into a "Launchpad" key? Just so that I have a one button press to open launchpad like the air's do?

    system preference>keyboard>keyboard shortcuts>launchpad&dock
    click on (check) show launchpad and click the area where the function would be and then hit Function F4.
    then you'll see a warning about a double entry. go to Mission control and uncheck dashboard
    finally go back to the "keyboard" tab and check "use all F1 F2 etc. keys as standard function keys.
    BOOM!
    or you can set the gesture for your track pad to on.

  • Can't put key back into keyboard?

    I can not snap my key back into place I can only get the top portion of the key in place, it does not seem like there is damage, am I doing something wrong?

    It would certainly help if you supplied an HP Model number.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • Can any one suggest a good downloder which work like internet download manager for MacBook

    Can any one suggest me a downloder which works lo IDM I have already used flocks etc..

  • Resizing images back to 100% in CS4

    There must be a simple way to bring an image back to its original size but I haven't found it. If I ctrl-d to place an image, it appears at 100%, say 4 by 4 at 350ppi. If I grab a corner and scale the image down so the effective ppi is 500, and then

  • Adobe 9.4.3 update partly installed.

    Adobe 9.4.3 update partly installed. I have tried to uninstall it to reinstall but I get an error message "Invalid Drive". It has tried to install on an external drive or E drive, both of which are not on this computer. I am running XP. Can anyone he

  • Ideas for transfering data to new HD

    I need more space than my 80GB HD currently has (I've used 75GB) so I took it down to the local Apple store to have them install a 250GB HD. When I went to pick it up, they said they installed a new operating system and pulled my information over sec

  • IPod listing the same artist numerous times...

    Before you read any further, please understand that this is NOT A TAGGING PROBLEM. I've been told it is many times (by people who aren't having the problem themselves) even after telling them it's not, and it's starting to become slightly annoying th