今天迎来了2018年第一场雪,这个美好的日子,总的写点什么纪念一下,在这里写了一个在js中使用Math.random()函数,随机生成四位数的验证码及其验证码换颜色. js代码如下: var arrayTest= ["m","n","v","x","z","a","b","c","d","e","f…
package com.demo.test1; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.regex.Matcher; import java.util.regex.Pattern; public class HighArray { private final static int OFFSET = 538309; public static…