摘要:
1 package com.ice.webos.util.security; 2 3 import java.math.BigInteger; 4 import java.security.Key; 5 import java.security.KeyFactory; 6 import java.security.KeyPair; 7 import java.security.KeyPairGenerator; 8 import java.security.PrivateKey; 9 import java.security.PublicKey; 10 import ja... 阅读全文
摘要:
1 package com.ice.webos.util.security; 2 3 import java.math.BigInteger; 4 import java.security.Key; 5 import java.util.Random; 6 7 import javax.crypto.Cipher; 8 import javax.crypto.SecretKey; 9 import javax.crypto.SecretKeyFactory; 10 import javax.crypto.spec.PBEKeySpec; 11 import javax.... 阅读全文
摘要:
1 package com.ice.webos.util.security; 2 3 import java.security.Key; 4 import java.security.KeyFactory; 5 import java.security.KeyPair; 6 import java.security.KeyPairGenerator; 7 import java.security.PrivateKey; 8 import java.security.PublicKey; 9 import java.security.SecureRandom; 10 imp... 阅读全文
摘要:
1 package com.ice.webos.util.security; 2 3 import java.security.Key; 4 import java.security.KeyFactory; 5 import java.security.KeyPair; 6 import java.security.KeyPairGenerator; 7 import java.security.PublicKey; 8 import java.security.spec.PKCS8EncodedKeySpec; 9 import java.security.spec.X... 阅读全文
摘要:
1 package com.ice.webos.util.security; 2 3 import java.io.UnsupportedEncodingException; 4 import java.math.BigInteger; 5 import java.security.Key; 6 import java.security.MessageDigest; 7 import java.security.SecureRandom; 8 9 import javax.crypto.Cipher; 10 import javax.crypto.KeyGenerato... 阅读全文