xecure.exp
Class XecureRandom

java.lang.Object
  |
  +--xecure.exp.XecureRandom

public class XecureRandom
extends java.lang.Object

secure random °ªÀ» »ý¼ºÇÑ´Ù.


Constructor Summary
XecureRandom(XecureExpConfig config)
          XecureRandom contructor
 
Method Summary
 byte[] getRandomBytes(int nLength)
          ÁöÁ¤µÈ Å©±â¸¸Å­ÀÇ secure random byte array ¸¦ »ý¼ºÇÏ¿© ¸®ÅÏÇÑ´Ù.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XecureRandom

public XecureRandom(XecureExpConfig config)
XecureRandom contructor
Parameters:
config - xecure.exp.XecureExpConfig
Method Detail

getRandomBytes

public byte[] getRandomBytes(int nLength)
ÁöÁ¤µÈ Å©±â¸¸Å­ÀÇ secure random byte array ¸¦ »ý¼ºÇÏ¿© ¸®ÅÏÇÑ´Ù.
»ý¼ºµÈ random byte ´Â hexa encoding µÇ¾î ¸®ÅϵȴÙ. byte array Å©±â´Â ÀԷ°ªÀÇ µÎ¹èÀÌ´Ù.
Parameters:
nLength - »ý¼ºÇÒ secure random byte Å©±â
Returns:
nLength random byte array