forked from I2P_Developers/i2p.i2p
Fortuna: Add getByte() method
This commit is contained in:
@@ -183,6 +183,17 @@ public class FortunaRandomSource extends RandomSource implements EntropyHarveste
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Not part of java.util.SecureRandom, but added for efficiency, since Fortuna supports it.
|
||||||
|
*
|
||||||
|
* @since 0.9.24
|
||||||
|
*/
|
||||||
|
public byte nextByte() {
|
||||||
|
synchronized(_fortuna) {
|
||||||
|
return _fortuna.nextByte();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation from sun's java.util.Random javadocs
|
* Implementation from sun's java.util.Random javadocs
|
||||||
*/
|
*/
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
2016-01-13 zzz
|
||||||
|
* BuildHandler: More early-disconnect cases
|
||||||
|
* Family: Add i2p-dev cert
|
||||||
|
|
||||||
2016-01-10 zzz
|
2016-01-10 zzz
|
||||||
* Tunnels: Fix build request Bloom filter (ticket #1746)
|
* Tunnels: Fix build request Bloom filter (ticket #1746)
|
||||||
|
|
||||||
|
@@ -18,10 +18,10 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 22;
|
public final static long BUILD = 23;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "-rc";
|
||||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + FULL_VERSION);
|
System.out.println("I2P Router version: " + FULL_VERSION);
|
||||||
|
Reference in New Issue
Block a user