Does anyone know of any Sun Classes for Java Cryptographic Extension -JCE ?

Hello - anyone know of any Sun Classes for Java Cryptographic Extension? If so do you have the Sun class code/s?
Edited by: Mister_Schoenfelder on Apr 17, 2009 11:31 AM

Maybe this can be helpful?
com.someone.DESEncrypter
======================
package com.someone;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.KeySpec;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.PBEParameterSpec;
public class DESEncrypter {
    Cipher ecipher;
    Cipher dcipher;
    // 8-byte Salt
    byte[] salt = {
        (byte)0xA9, (byte)0x9B, (byte)0xC8, (byte)0x32,
        (byte)0x56, (byte)0x35, (byte)0xE3, (byte)0x03
    // Iteration count
    int iterationCount = 19;
    public DESEncrypter(String passPhrase) {
        try {
            // Create the key
            KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(), salt, iterationCount);
            SecretKey key = SecretKeyFactory.getInstance(
                "PBEWithMD5AndDES").generateSecret(keySpec);
            ecipher = Cipher.getInstance(key.getAlgorithm());
            dcipher = Cipher.getInstance(key.getAlgorithm());
            // Prepare the parameter to the ciphers
            AlgorithmParameterSpec paramSpec = new PBEParameterSpec(salt, iterationCount);
            // Create the ciphers
            ecipher.init(Cipher.ENCRYPT_MODE, key, paramSpec);
            dcipher.init(Cipher.DECRYPT_MODE, key, paramSpec);
        } catch (java.security.InvalidAlgorithmParameterException e) {
             e.printStackTrace();
        } catch (java.security.spec.InvalidKeySpecException e) {
             e.printStackTrace();
        } catch (javax.crypto.NoSuchPaddingException e) {
             e.printStackTrace();
        } catch (java.security.NoSuchAlgorithmException e) {
             e.printStackTrace();
        } catch (java.security.InvalidKeyException e) {
             e.printStackTrace();
    public DESEncrypter(SecretKey key) {
        try {
            ecipher = Cipher.getInstance("DES");
            dcipher = Cipher.getInstance("DES");
            ecipher.init(Cipher.ENCRYPT_MODE, key);
            dcipher.init(Cipher.DECRYPT_MODE, key);
        } catch (javax.crypto.NoSuchPaddingException e) {
             e.printStackTrace();
        } catch (java.security.NoSuchAlgorithmException e) {
             e.printStackTrace();
        } catch (java.security.InvalidKeyException e) {
             e.printStackTrace();
    public String encrypt(byte[] data) {
         return encrypt(new sun.misc.BASE64Encoder().encode(data), false);
    public byte[] decryptData(String s) throws IOException {
         String str = decrypt(s, false);
         return new sun.misc.BASE64Decoder().decodeBuffer(str);
    public String encrypt(String str, boolean useUTF8) {
        try {
            // Encode the string into bytes using utf-8
            byte[] utf8 = useUTF8 ? str.getBytes("UTF8") : str.getBytes();
            // Encrypt
            byte[] enc = ecipher.doFinal(utf8);
            // Encode bytes to base64 to get a string
            return new sun.misc.BASE64Encoder().encode(enc);
        } catch (javax.crypto.BadPaddingException e) {
             e.printStackTrace();
        } catch (IllegalBlockSizeException e) {
             e.printStackTrace();
        } catch (UnsupportedEncodingException e) {
             e.printStackTrace();
        } catch (java.io.IOException e) {
             e.printStackTrace();
        return null;
    public String decrypt(String str, boolean useUTF8) {
        try {
            // Decode base64 to get bytes
            byte[] dec = new sun.misc.BASE64Decoder().decodeBuffer(str);
            // Decrypt
            byte[] utf8 = dcipher.doFinal(dec);
            // Decode using utf-8
            return useUTF8 ? new String(utf8, "UTF8") : new String(utf8);
        } catch (javax.crypto.BadPaddingException e) {
             e.printStackTrace();
        } catch (IllegalBlockSizeException e) {
             e.printStackTrace();
        } catch (UnsupportedEncodingException e) {
             e.printStackTrace();
        } catch (java.io.IOException e) {
             e.printStackTrace();
        return null;
     // Here is an example that uses the class
     public static void main(String[] args) {
         try {
             // Generate a temporary key. In practice, you would save this key.
             // See also e464 Encrypting with DES Using a Pass Phrase.
             SecretKey key = KeyGenerator.getInstance("DES").generateKey();
             // Create encrypter/decrypter class
             DESEncrypter encrypter = new DESEncrypter(key);
             // Encrypt
             String encrypted = encrypter.encrypt("Don't tell anybody!", true);
             // Decrypt
             String decrypted = encrypter.decrypt(encrypted, true);
         } catch (Exception e) {
              e.printStackTrace();
          try {
              // Create encrypter/decrypter class
              DESEncrypter encrypter = new DESEncrypter("My Pass Phrase!");
              // Encrypt
              String encrypted = encrypter.encrypt("Don't tell anybody!", true);
              // Decrypt
              String decrypted = encrypter.decrypt(encrypted, true);
          } catch (Exception e) {
               e.printStackTrace();
}

Similar Messages

  • Does anyone know of any security protection for the IPad?

    Does anyone know of a security protection for the IPad?

    Yes, first get a good case for it to protect it from the elements, dropping, etc.
    Next, be sure to set up your free Find My iPad application for it in case it is lost or stolen.
    When carrying it around with you keep your eye on it at all times and beware of letting others walk away with it. They are very popular and stolen frequently.
    P.S. There are no iOS viruses, malware, etc. so no antivirus, antispyware, etc. apps are available.

  • Does anyone know of any "Enter license key" java programs

    I'm making a file sharing program and I need to use a "Enter license key" applet. I don't like making things from scratch.

    I'm making a file sharing program and I need to use a "Enter license key" applet. I don't like making things from scratch.

  • I'm a video editor working primarily in FCP7 and just purchased the latest Mac Pro running Yosemite ? Does anyone know if any options have become available for running FCP7 on this platform ?

    I'm a video editor working primarily in FCP7 and just purchased the latest Mac Pro running Yosemite ? Does anyone know if any options have become available for running FCP7 on this platform ?

    It would "run" (more like Sunday stroll or walk) if you installed Snow Leopard in a VM. Especially if you have 6-core (and would help to have 6 or 8 cores anyway if you were able to and intend to make best use of nMP for video editing).
    If you "classic" Mac Pro was 2009 or later, adding two AMD graphic cards, upgrading the processor to 8-core 3.xGHz would have gotten you a FCP-X capable machine and still dual boot and use Snow Leopard as needed.
    Any Mac Pro can now use 1000MB/sec SSD PCIe blade to boot from and/or for scratch and editing to help improve work flow.
    SSD Blade Drive for "Classic" Mac Pro

  • I have the first generation ipod touch it's updated to the iOS 3.1.3.  Anytime I try to download an app it says it needs to have iOS 4.3. We want to download apps for my daughter.  Does anyone know of any children's apps for the iOS 3.1.3

    I have the first generation ipod touch it's updated to the iOS 3.1.3.  Anytime I try to download an app it says it needs to have iOS 4.3. We want to download apps for my daughter.  Does anyone know of any children's apps for the iOS 3.1.3

    Any joy ? I'm having same problem. Just bought two for my twins birthday and I think it was a big mistake!!!! Thanks

  • Does anyone know of any wholesalers in the United States for iPhones?

    Does anyone know of any wholesalers of iPhones in the United states?

    There are none.
    Only Apple provides this function to its authorized distributors.

  • HT202297 I just bought an ipad3 and I was wondering if anyone knows how to have my reminders displayed in my calendar? If it not possible on the iPad , is it possible on the iphone4s? if not, than does anyone know of any apps that make it convenient to do

    I just bought an ipad3 and I was wondering if anyone knows how to have my reminders displayed in my calendar? If it not possible on the iPad , is it possible on the iphone4s? if not, than does anyone know of any apps that make it convenient to do so?

    That's only for the iPhone 5. On the 4 and 4S, they can repair the back glass in store for $30. They will not replace the display on a 4 or 4S. They must replace the entire phone. Replacing the display on them requires disassembling the entire phone, which they will not do in store.

  • In past versions of ff I have used Tab Renamizer add-on to allow me to rename the main tab in each profile. Does anyone know of any firefox add-ons that have a similar features to Tab Renamizer?

    I run several firefox profiles at the same time. In the past I have used Tab Renamizer to label the main tab in each profile. I like this because then I can tell them a part from the drop-down list in win 7 when switching between profiles. The new version of firefox is not supported by this add-on. Does anyone know of any firefox add-ons that have a similar feature?
    Using firefox 7.0.1

    core-el, i don't see the advantage of that or i can't figure out how i'm supposed to use it. for starters, i have to click the mouse in order to get "add bookmark here" to open, which is no different than clicking on the star in the location bar, or right-clicking on the page. there are also options in the bookmarks toolbar, but they all require clicking the mouse & holding down the right button, etc.
    my goal is to use keystrokes only. typing on the keyboard, using both hands, using the space bar & my left pinky finger to tab over are all painless routines for me. as soon as i have to take my fingers off the keyboard & use the mouse, the pain begins.
    as i said, in older versions of firefox, all i had to do to bookmark a page was click ctrl>d, then tab over & arrow down, when appropriate, to find the folder & add the bookmark. for me, as a touch-typist whose speed is between 60 & 80 wpm, this is lightning fast.
    if i have this wrong, please correct me. i just see it as more mouse clicks that don't save me time or pain.

  • HELP! Does anyone know a Data Recovery Expert for I-CIoud? -My calender disappeared during I-Cloud transfer of data from old I-Phone 4 to new I-Phone 5s. It was on both I-Phones then vanished. (It was evidently not syncing during back-ups on the laptop)

    HELP! Does anyone know a "Data Recovery Expert" for I-Cloud & I-Phone? - My calender disappeared during I-Cloud transfer of data from my old I-Phone 4 to my new I-Phone 5s. It was on both I-Phones then vanished. (It was evidently not syncing during back-ups on the laptop)

    HELP! Does anyone know a "Data Recovery Expert" for I-Cloud & I-Phone? - My calendar disappeared during I-Cloud transfer of data from my old I-Phone 4 to my new I-Phone 5s. It was on both I-Phones then vanished. (It was evidently not syncing during back-ups on the laptop)
    The Apple techs are looking. But they can't find it. Nor can they find a back up on my laptop, Evidently when I backed up my Iphone to computer the calendar wasn't syncing. Since I only use the calander on my phone - I never noticed.
    The Apple store rep that sold me the I-Phone 5 on Monday, was transferring my contacts and calendar thru I-Cloud (I never used I-Cloud before that moment - and always had it turned off). He successfully transferred the contacts - which are still on my phone), but the Calendar weirdly split into 6 calendars (2 of which were linked to my G-Mail which only had a few entries) (4 were linked to my MSN / Hotmail email and contained all the major events/data). I never created calendars that were separate or liked them to 2 different emails. I just typed entries into the I-Phone calendar. However, the calendar did exist on the new I-Phone for 24 hours. Something happened during transfer. When the Apple Genius Bar tech was attempting to back up my Calendar & merge the 6 calendars, everything disappeared in his hand while he was looking at it.
    I am hoping that some really good data recovery expert exists that can restore the calendar that was in both I-Phones yesterday. It is completely devastating if I can't recover it.
    Any help, or referrals, is great appreciated!!!!
    Thanks!

  • New to macbook pro and have msmoney files (mbf) stored on an external hard drive. I want to transfer them to MoneyWiz and need to convert them to qif.  Does anyone know of any free software available and how do I do it. Thanks.

    I am new to macbook pro and have msmoney files (mbf) stored on an external harddrive.  I want to transfer them to MoneyWiz and need to convert them to qif.  Does anyone know of any free software available and how do I do it. Thanks.

    iTunes>Preferences (Cmd+,)>Advanced
    Choose the Ext HD (and the appropriate folder) as the location for your library.

  • Does anyone know what protection Apple has for the virus that is supposed to shut us out of the internet on Monday?

    Does anyone know what protectio Apple has for this virus that is supposed to shut us out of the internet on Monday?

    There was a security patch made available a few months ago.  So, if you're up to date, you're fine.  Here's a link to check whether or not you have any problems with that:
    http://www.dns-ok.us
    If the site is green, you're OK.
    The actual virus attack happened a year ago,but the FBI hasput up servers to keep people on the internet, until now. 
    http://www.nbcphiladelphia.com/news/tech/DNS-Changer-Virus-Could-Keep-Thousands- Off-Internet-161442515.html

  • I'm thinking of upgrading from 10.6.8 Snow Leopard to OS X Yosemite. Does anyone know of any problems associated with this? What are the implications / consequences of installing Yosemite? Does it effect functionality of v10.6.8 software or hardware?

    I'm thinking of upgrading from v10.6.8 Snow Leopard to OS X Yosemite. I know, I'm years behind, but it has become a necessity. My Mac is becoming slow and is incompatible with many softwares and websites. Does anyone know of any problems associated with this upgrade? What are the implications and/or consequences of installing Yosemite? Does it effect functionality of v10.6.8 software or hardware? Are there any precautions I should take before the installation? I have read some posts about Macs slowing right down after installing Yosemite. Any insights and information (in layman's terms please!) would be very useful. Thanks.

    Huge thanks for your response Michel. I apologise for the delay in getting back to you. I have done as you suggested, the details are pasted below. Clearly there are some applications I need to remove and no doubt my HD could do with a 'spring clean'. My Mac 'Safe Booted' when I turned it on this morning.
    I use many different softwares, some web-based. The decision to upgrade to OSX Yosemite is because I was unable to attend a Webinar this week using GoToMeeting downloadable software. GoToMeeting have upgraded their system and my OS is no longer supported. Other websites like VImeo no longer support my version of Safari. I tend to use Chrome if Safari isn't compatible.
    Problem description:
    I'm thinking of upgrading from v10.6.8 Snow Leopard to OS X Yosemite. However I have noticed that my MacBook Pro becoming ‘slow’ over the last 3 weeks and therefore might have some issues that need to be resolved before I even consider installing OSX Yosemite. Over the last week my Mac has Safe Booted on three occasions, so clearly there’s a ‘glitch’ occurring.
    EtreCheck version: 2.1.1 (104)
    Report generated 6 December 2014 10:21:01 GMT
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2 GHz Intel Core i7 CPU: 4-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      AMD Radeon HD 6490M - VRAM: 256 MB
      Color LCD 1440 x 900
      Intel HD Graphics 3000 - VRAM: 384 MB
    System Software: ℹ️
      Mac OS X 10.6.8 (10K549) - Uptime: 0:35:42
    Disk Information: ℹ️
      Hitachi HTS545050B9A302 disk0 : (465.76 GB)
      S.M.A.R.T. Status: Verified
      - (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) / : 499.76 GB (236.21 GB free)
      HL-DT-ST DVDRW  GS31N 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Microsoft Microsoft® Nano Transceiver v2.0
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple, Inc. MacBook Pro
    Configuration files: ℹ️
      /etc/launchd.conf - Exists
    Adware: ℹ️
      Geneio [Remove]
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.flipvideo.IOUSBCameraMassStorage (1.0.1) [Support]
      [loaded] com.microsoft.driver.MicrosoftMouse (8.2) [Support]
      /System/Library/Extensions/MicrosoftMouse.kext/Contents/PlugIns
      [not loaded] com.microsoft.driver.MicrosoftMouseBluetooth (8.2) [Support]
      [loaded] com.microsoft.driver.MicrosoftMouseUSB (8.2) [Support]
    Startup Items: ℹ️
      HWNetMgr: Path: /Library/StartupItems/HWNetMgr
      HWPortDetect: Path: /Library/StartupItems/HWPortDetect
      Startup items are obsolete in OS X Yosemite
    Problem System Launch Daemons: ℹ️
      [not loaded] org.samba.winbindd.plist [Support]
    Launch Agents: ℹ️
      [running] com.flipvideo.FlipShare.AutoRun.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [running] com.trusteer.rapport.rapportd.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [running] com.flipvideo.FlipShareServer.launchd.plist [Support]
      [loaded] com.google.keystone.daemon.plist [Support]
      [running] com.trusteer.rooks.rooksd.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [failed] [email protected] [Details]
      [invalid?] com.citrixonline.GoToMeeting.G2MUpdate.plist [Support]
      [loaded] com.genieo.completer.download.plist Adware! [Remove]
      [loaded] com.genieo.completer.update.plist Adware! [Remove]
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      Google Earth Web Plug-in: Version: 7.1 [Support]
      OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
      RealPlayer Plugin: Version: Unknown
      AdobePDFViewerNPAPI: Version: 10.1.12 [Support]
      FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.239 - SDK 10.6 [Support]
      iPhotoPhotocast: Version: 7.0 - SDK 10.7
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      QuickTime Plugin: Version: 7.6.6
      AdobePDFViewer: Version: 10.1.12 [Support]
      CANONiMAGEGATEWAYDL: Version: 2.1.0.1 [Support]
      CANONiMAGEGATEWAYLI: Version: 2.1.0.1 [Support]
      EPPEX Plugin: Version: 3.0.5.0 [Support]
      JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
    User internet Plug-ins: ℹ️
      BrowserPlus_2.9.8: Version: 2.9.8 [Support]
      CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Support]
    Safari Extensions: ℹ️
      Omnibar Adware! [Remove]
      My eBay Manager
      Add To Amazon Wish List
    Audio Plug-ins: ℹ️
      iSightAudio: Version: 7.6.6
    3rd Party Preference Panes: ℹ️
      3ivx MPEG-4  [Support]
      BrowserPlus  [Support]
      Flash Player  [Support]
      Microsoft Mouse  [Support]
      Perian  [Support]
      Trusteer Endpoint Protection  [Support]
    Time Machine: ℹ️
      Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU: ℹ️
          26% Safari
          2% WindowServer
          2% activitymonitord
          1% PluginProcess
          0% WebProcess
    Top Processes by Memory: ℹ️
      405 MB WebProcess
      301 MB Safari
      125 MB Mail
      116 MB rapportd
      116 MB mds
    Virtual Memory Information: ℹ️
      1.02 GB Free RAM
      1.78 GB Active RAM
      429 MB Inactive RAM
      1.07 GB Wired RAM
      422 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 6, 2014, 09:45:53 AM Self test - passed
      Dec 5, 2014, 11:49:18 PM QTKitServer_2014-12-05-234918_[redacted].crash

  • Hi, I've got an imac using mac os x version10.4.11, does anyone know of any printers that are compatible with this operating system version?

    Hi, I've got an imac using mac os x version10.4.11, does anyone know of any printers that are compatible with this operating system version?

    Yesterday I set up a Canon IP3600 to work on a PowerBook G4 running OS 10.4.11. It is a print-only unit. I got the 10.4 drivers off the Canon website before connecting the printer. Many Brother printers still have support for older Mac OS versions.
    If you need a multi-function device, it is gettng very hard to find any that support PowerPC Macs (pre-2006) of OSX versions older then 10.6 any more.
    As you posted in the PowerPC iMac forum I assume you have one. However, there are some Intel Macs (2006 and newer) still running 10.4. Check "About this Mac" under your Apple menu: if it says you have an Intel processor, you have many more doors open.

  • I uninstalled logic because it kept crashing. But when i try to reinstall it get to the 3rd disk and says it couldn't be installed. Does anyone know of any reasons this might be?

    I uninstalled logic because it kept crashing. But when i try to reinstall it get to the 3rd disk and says it couldn't be installed. Does anyone know of any reasons this might be?

    Ben Rush
       Also tried restoring system from backup but just does the same thing
    This is where a HD clone is so important, ...
    Time Machine can do nothing with/to a crashed / failing HD. 
    Like refilling a gumball machine with a hole in the bottom, ....futile.
    At least your vital data is backed up. Look into getting a new internal HD. Very cheap fix $65 for a new HD.
    If you have Apple care on your 2011 macbook, contact them for repair/ HD replacement.

  • Does anyone know a good developer magazine for mac development

    Does anyone know a good developer magazine for mac development I will be happy to get multiple answers

    K T wrote:
    And the fact that it's was a vertical, slow-moving, dead-tree, subscription-driven, ad-based business model has nothing at all to do with it... Mac mags died a long time ago, for good reason - get over it
    I guess I don't really agree with that. There are still a few Mac magazines around. Interestingly, they are often magazines from the UK. I find it funny that there isn't a big enough market in the US to support homegrown Mac magazines, but they continue to print them in the UK with a much smaller market, and ship them over here. But I digress. I do think the points you cite for the demise of Mac magazines are all incorrect. The same system works just fine for any number of other magazines. The difference is the reader...
    Google is your friend.
    Now I greatly disagree. Not only is Google not your friend, but it (or rather the internet - it gets hard to tell the two apart anymore) is turning into a massive source of disinformation. There was a time when programmers were expected to read the manual, read magazines, and try things out in order to figure out how to do something. Now, we are expected to just Google it.
    Well, I do Google things on a regular basis and I find the advice dispensed to be wrong or otherwise useless more than half the time. Google is on the way out. Information networks are the wave of the future. That is why people come here. Apple Discussions is more reliable than Google.

Maybe you are looking for

  • Restoring Logical standby rman backup on production

    Hi , I have One Production and one logical standby database . Due to tape problem we are unable to take backups of promary . And due to businness , we cannot take back up on disk in hot period(Bank database ) . Can anyone tell me , if i take logical

  • Function module not allowed: IDOC_INPUT_INVOIC_MRM in 4.6C

    Hi All, I am working on SAP 4.6C, I am trying to post an idoc through WE19 and using message type INVOIC and basic type - INVOIC02. Also, we are using the process code - INVL which using the function IDOC_INPUT_INVOIC_MRM. While trying to post an MM

  • What is the best Messenger Client?

    Right there probably has been a thread like this before but I couldn't find it, sorry if there is one. What is the best program to use to access my Windows Live Messenger account? I currently use Mac Messenger which is... CRAP! I have used Adium befo

  • Ko88 unable to settle combined order

    We are running costing run for period 3, there is 1 combined order which was not able to do settlement using KO88 or CO8b. It can be settled on 31/3/08 but when we have do some changes to the settlement on 1/4/08, so we have reversed the settlement a

  • OS X Yosemite installation 'OS X could not be installed on your computer'

    I have a 2011 MacBook Pro. Was on OS X Mountain Lion. Decided to install OS X Yosemite everytime I try it eventually comes up with a warning message - OS X could not be installed on your computer. File system verify or repair failed. Quit the install