equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
35 */ |
35 */ |
36 |
36 |
37 public final class PRNG extends SecureRandomSpi |
37 public final class PRNG extends SecureRandomSpi |
38 implements java.io.Serializable { |
38 implements java.io.Serializable { |
39 |
39 |
40 // TODO - generate the serialVersionUID |
40 private static final long serialVersionUID = 4129268715132691532L; |
41 //private static final long serialVersionUID = XXX; |
|
42 |
41 |
43 /* |
42 /* |
44 * The CryptGenRandom function fills a buffer with cryptographically random |
43 * The CryptGenRandom function fills a buffer with cryptographically random |
45 * bytes. |
44 * bytes. |
46 */ |
45 */ |