byte[] data="test data".getBytes();
byte[] hash=DustUtil.hash(data);
System.out.println("hash: "+Util.encode(hash));
DustPRNG prng=new DustPRNG();
byte[] rb=prng.getBytes(1);
System.out.println("prng: "+Util.encode(rb));
rb=prng.getBytes(1);
System.out.println("prng: "+Util.encode(rb));
rb=prng.getBytes(10);
System.out.println("prng: "+Util.encode(rb));
rb=prng.getBytes(32);
System.out.println("prng: "+Util.encode(rb));
// byte[] key=new byte[32];
// random.nextBytes(key);
// byte[] iv=new byte[32];