/[classpath]/classpath/java/security/SecureRandom.java
ViewVC logotype

Diff of /classpath/java/security/SecureRandom.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by cbj, Thu Mar 27 03:32:08 2003 UTC revision 1.11 by rsdio, Wed Apr 23 23:15:47 2003 UTC
# Line 41  import java.io.Serializable; Line 41  import java.io.Serializable;
41  import java.util.Random;  import java.util.Random;
42  import java.util.Enumeration;  import java.util.Enumeration;
43    
44    import gnu.java.security.Engine;
45    
46  /**  /**
47   * An interface to a cryptographically secure pseudo-random number   * An interface to a cryptographically secure pseudo-random number
48   * generator (PRNG). Random (or at least unguessable) numbers are used   * generator (PRNG). Random (or at least unguessable) numbers are used
# Line 234  public class SecureRandom extends Random Line 236  public class SecureRandom extends Random
236            Engine.getInstance(SECURE_RANDOM, algorithm, provider),            Engine.getInstance(SECURE_RANDOM, algorithm, provider),
237            provider);            provider);
238        }        }
239        catch (java.lang.reflect.InvocationTargetException ite)
240          {
241            throw new NoSuchAlgorithmException(algorithm);
242          }
243      catch (ClassCastException cce)      catch (ClassCastException cce)
244        {        {
245          throw new NoSuchAlgorithmException(algorithm);          throw new NoSuchAlgorithmException(algorithm);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26