Changeset ca00ea7a


Ignore:
Timestamp:
Jan 13, 2016 4:11:39 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
308c9da
Parents:
e2b7f504
Message:

Fortuna: Add getByte() method

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/FortunaRandomSource.java

    re2b7f504 rca00ea7a  
    181181        synchronized(_fortuna) {
    182182            _fortuna.nextBytes(buf, offset, length);
     183        }
     184    }
     185
     186    /**
     187     * Not part of java.util.SecureRandom, but added for efficiency, since Fortuna supports it.
     188     *
     189     * @since 0.9.24
     190     */
     191    public byte nextByte() {
     192        synchronized(_fortuna) {
     193            return _fortuna.nextByte();
    183194        }
    184195    }
  • history.txt

    re2b7f504 rca00ea7a  
     12016-01-13 zzz
     2 * BuildHandler: More early-disconnect cases
     3 * Family: Add i2p-dev cert
     4
    152016-01-10 zzz
    26 * Tunnels: Fix build request Bloom filter (ticket #1746)
  • router/java/src/net/i2p/router/RouterVersion.java

    re2b7f504 rca00ea7a  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 22;
     21    public final static long BUILD = 23;
    2222
    2323    /** for example "-test" */
    24     public final static String EXTRA = "";
     24    public final static String EXTRA = "-rc";
    2525    public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
    2626    public static void main(String args[]) {
Note: See TracChangeset for help on using the changeset viewer.