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.

Similar Messages

  • 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();
    }

  • 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.

  • 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.

  • 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

  • Does anyone know of any issues with photoshop CS4 and Mountain Lion?

    Does anyone know of any issues with photoshop CS4 and Mountain Lion?

    See here:
    http://www.macrumors.com/2012/07/25/adobe-and-avid-report-only-minor-issues-with -mountain-lion/

  • 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 HAVE A MAC OS X 10.6.8 AND IM TRYING TO DOWNLOAD IPAGES BUT IT WONT LET. DOES ANYONE KNOW OF ANY PROGRAM CLOSE TO IPAGES OR HOW I CAN DOWNLOAD IPAGES 06?

    HI I HAVE A MAC OS X 10.6.8 AND IM TRYING TO DOWNLOAD IPAGES BUT IT WONT LET. DOES ANYONE KNOW OF ANY PROGRAM CLOSE TO IPAGES OR HOW I CAN DOWNLOAD IPAGES 06?

    iWork '09 has three different versions each of which require a different minimum operating system 10.4.11 (x.0); 10.6.6 (x.1); 10.7.4 (x.2). The App Store only has the latest version so you need to buy the iWork DVD off of eBay http://www.ebay.com/sch/i.html?_sop=12&_trkparms=72%253A1234%257C66%253A2%257C65 %253A12%257C39%253A1&_sacat=0&_sc=1&_nkw=iwork+09&rt=nc

  • 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.

  • My iPad 2 screen is distorted. Does anyone know of any troubl

    MMy ipad2 screen is distorted. Does anyone know of any troubleshooting techniques?

    See your other thread. You have no need to post the same problem twice within six minutes. The user manual knows of troubleshooting techniques:  Here.

  • 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.

  • HT1338 i have about 88,000 songs in my music library, some are duplicates. Does anyone know of any Apple Product or 3rd party software that will identify and remove duplicates.

    I have about 88,000 songs in my music library, some are duplicates. Does anyone know of any Apple Product or 3rd party software that will identify and remove duplicates.

    Backup your music to an external source before doing this, just in case you delete the originals by accident.
    iTunes will show you the duplicates.  But I recommend tagging their comments or another field once selecting them to ensure you don't accidentally delete both the original and duplicate.  You can always select all of them and change all their comment tags at once.  Once you've done that, stop showing duplications, and then sort by the comment field.  This will allow you to determine whether only the duplicates were shown in the show duplicates, or the originals.  If you see any without comments, then you can go ahead and delete the duplicates.

  • 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

Maybe you are looking for