Skip to content

Instantly share code, notes, and snippets.

@yangl
Created June 23, 2016 06:35
Show Gist options
  • Save yangl/31738894812e51dce0bcc9c5ffabf7ba to your computer and use it in GitHub Desktop.
Save yangl/31738894812e51dce0bcc9c5ffabf7ba to your computer and use it in GitHub Desktop.
用16位数字字母随机生成字符串,直接使用org.apache.commons.lang3.RandomStringUtils即可
RandomStringUtils.random(16, "1234567890qwertyuioplkjhgfdsazxcvbnm")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment