我试了,是这样做的:
Random rd = new Random();
byte[] temp = new byte[16];
String str = rd.nextBytes(temp);这样只能得到一个10字符的串,并且,前三个字符总是一样的,我这样写的错误在哪里呢?