Search Result

Collapse
5 results in 0.0039 seconds.
Keywords
Members
Tags
keys
  •  

  • retrieving the key in jce(java cyptography extension)

    i am implementing blowfish using jce (java cryptography extension )
    im generating the key using
    KeyGenerator keyGenerator = KeyGenerator.ge tInstance("Blow fish");

    keyGenerator.in it(128);

    SecretKey key = keyGenerator.ge nerateKey();
    now how do i retrieve the key so as to send it to another party or display it.. i have tried something and this is wat im getting : -

    System.out.prin tln("the...
    See more | Go to post

  • How to move a panel using keyboard input?

    The title may not really identify what I'm trying to do, so I'll provide a screenshot.

    What I'm trying to do is a design an RPG style combat system using VB. If I can get the interface working, the bulk of the internal coding shouldn't be a problem but what I'd like to know is:

    As you can see, there is a panel on the "Attack" command in the screenshot. I'd like to know if there is some way to make it so that, while...
    See more | Go to post

  • Python:Query on Conditional Loops and the setdefault method

    >>>listoflist s = [['a', 'first'], ['b', 'second'], ['a', 'next'], ['c', 'third'], ['b', 'last']]
    >>> dd = {}
    >>>for item in listoflists:
    ... dd.setdefault(i tem[0], []).append(item)

    - The part which mentions 'item[0]' would be to have the first letter of each item in the list we created right ?
    - what does the ' [ ] ' signify in this case ? Does it mean to have a null value...
    See more | Go to post

  • sudipb
    started a topic A problem that I am facing on Python Dictionaries

    A problem that I am facing on Python Dictionaries

    I input the following:
    >>> collection={} #Initiate an empty dictionary
    >>>collection={ 'a':'first', 'a':'second','d ':'third','b':' fourth','e':'fi fth','b':'sixth '}
    >>> collection
    {'a':'second',' b':'sixth','e': 'fifth','d':'th ird'}

    Now my question is:

    Why does the output not include all the values (2 values for 'a' AND 2 values for 'b) BUT only shows the output of ONLY the...
    See more | Go to post
    Last edited by bvdet; Feb 20 '10, 01:45 PM. Reason: Removed email address

  • mrjohn
    started a topic Trouble getting Keyboard input with KeyListener
    in Java

    Trouble getting Keyboard input with KeyListener

    Hey, I'm trying to make a program that will recognize when certain keys are released, so that I can encorperate it into a game I'm making. Unfortunately, it doesn't seem to be working. When I run the program and press keys, nothing happens. Any ideas?

    [code="java"]import java.awt.Dimens ion;
    import java.awt.Graphi cs;
    import java.awt.Graphi cs2D;
    import java.awt.Image;
    import java.awt.event. KeyEvent;...
    See more | Go to post
Working...