上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 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... 阅读全文
posted @ 2012-01-29 13:56 秋日私语的博客 阅读(5959) 评论(1) 推荐(0) 编辑
摘要: 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.... 阅读全文
posted @ 2012-01-29 13:55 秋日私语的博客 阅读(2061) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-01-29 13:54 秋日私语的博客 阅读(2707) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-01-29 13:52 秋日私语的博客 阅读(5885) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-01-29 13:51 秋日私语的博客 阅读(12898) 评论(0) 推荐(0) 编辑
摘要: 一、问题描述:无法向会话状态服务器发出会话状态请求。请确保 ASP.NET State Service (ASP.NET 状态服务)已启动,并且客户端端口与服务器端口相同。如果服务器位于远程计算机上,请检查 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection 的值,确保服务器接受远程请求。如果服务器位于本地计算机上,并且上面提到的注册表值不存在或者设置为 0,则状态服务器连接字符串必须使用“localhost”或“127.0.0.1”作为服务器名称。 阅读全文
posted @ 2011-12-08 14:46 秋日私语的博客 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: Select CONVERT(varchar(100), GETDATE(), 0): 05 16 2006 10:57AM Select CONVERT(varchar(100), GETDATE(), 1): 05/16/06 Select CONVERT(varchar(100), GETDATE(), 2): 06.05.16 Select CONVERT(varchar(100), GETDATE(), 3): 16/05/06 Select CONVERT(varchar(100), GETDATE(), 4): 16.05.06 Select CONVERT(varchar(10 阅读全文
posted @ 2011-12-01 14:33 秋日私语的博客 阅读(984) 评论(0) 推荐(0) 编辑
摘要: 一、while语句格式# 当条件为真时,执行语句块1# 当while正常结束时,执行语句块2(else)中的内容while 条件: 语句块1else: 语句块2二、实例 阅读全文
posted @ 2011-11-27 20:01 秋日私语的博客 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 一、if语句的格式 语句块必须有相同的缩进。 语句块必须比if,elif,else多一层缩进# 如果条件成立则执行语句块1,# 否则 如果条件2成立则执行语句块2# 其他情况执行语句块3# elis和else部分是可选的if 条件1: 语句块1elif 条件2: 语句块2else: 语句块3二、实例i = 10if i == 3: print ' i 是3.' print "我也是在if之后执行的。"elif i < 3: print 'i < 3'else: print '其他情况。'print '打印结 阅读全文
posted @ 2011-11-27 15:57 秋日私语的博客 阅读(11498) 评论(0) 推荐(0) 编辑
摘要: 表达式是由操作符和操作数组成的.例如length = 5breadth = 2area = length * breadthprint 'Area is', areaprint 'Perimeter is', 2 * (length + breadth) 阅读全文
posted @ 2011-11-26 18:52 秋日私语的博客 阅读(624) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页