org.apache.sshd.common
Interface Random

All Known Implementing Classes:
BouncyCastleRandom, JceRandom, SingletonRandomFactory

public interface Random

A pseudo random number generator.

Author:
Apache MINA SSHD Project

Method Summary
 void fill(byte[] bytes, int start, int len)
          Fill part of bytes with random values.
 

Method Detail

fill

void fill(byte[] bytes,
          int start,
          int len)
Fill part of bytes with random values.

Parameters:
bytes - byte array to be filled.
start - index to start filling at.
len - length of segment to fill.


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.