摘要:
import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import java.io.IOException; import java.math.BigInteger; import java.securi 阅读全文
摘要:
public class DoubleUtil { /** * 很小的数值 用于double和0比较 存在尾差问题 ***/ private static final Double minVal = 0.00001; /** * 两个Double数相加 * * @param v1 * @param 阅读全文
摘要:
import com.google.zxing.BarcodeFormat; import com.google.zxing.EncodeHintType; import com.google.zxing.MultiFormatWriter; import com.google.zxing.Writ 阅读全文
摘要:
import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.uti 阅读全文
摘要:
public static byte[] desDecode(byte[] data, byte[] head) throws Exception { SecureRandom sr = new SecureRandom(); DESKeySpec dks = new DESKeySpec(head 阅读全文