摘要: Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the... 阅读全文
posted @ 2014-07-25 00:44 曾有人 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 10015 - Hankson的趣味题Time Limit: 1000MSMemory Limit: 65535KBDescriptionHanks 博士是BT (Bio-Tech,生物技术) 领域的知名专家,他的儿子名叫Hankson。现在,刚刚放学回家的Hankson 正在思考一个有趣的问题。今... 阅读全文
posted @ 2014-07-23 21:40 曾有人 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 数字签名是什么?作者:David Youd翻译:阮一峰原文网址:http://www.youdzone.com/signature.html1.鲍勃有两把钥匙,一把是公钥,另一把是私钥。2.鲍勃把公钥送给他的朋友们----帕蒂、道格、苏珊----每人一把。3.苏珊要给鲍勃写一封保密的信。她写完后用鲍... 阅读全文
posted @ 2014-07-23 13:46 曾有人 阅读(1431) 评论(0) 推荐(0) 编辑
摘要: 转自http://www.voidspace.org.uk/python/articles/authentication.shtml先转来,由于是python2的版本之后会翻译文章以及移植到python3IntroductionThis tutorial aims to explain and il... 阅读全文
posted @ 2014-07-21 15:22 曾有人 阅读(2045) 评论(0) 推荐(0) 编辑