- 授权协议: MIT
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/jancassio/SweetHMAC
软件介绍
SweetHMAC 是个极小,简单易用的 Swift 类,使用 HMAC 算法加密字符串。
字符串扩展:
// Will output this string: e470f785afb708cd8c2a31860642fd11 "I'm going to make him an offer he can't refuse".HMAC(.MD5, secret:"Vito Corleone")
HMAC:
let quote = "I'm going to make him an offer he can't refuse" let author = "Vito Corleone" // Create a SweetHMAC instance with your message and secret strings let hmacEncrypt:SweetHMAC = SweetHMAC(source: quote, secret: author) // Pick some computed HMAC output based on some algorithm using "HMAC" method... let md5 = hmacEncrypt.HMAC(.MD5) // ...or do it more "Sweet" like this let md5 = SweetHMAC(source: quote, secret: author).HMAC(.MD5)
高质量程序设计艺术
斯皮内利斯 / 韩东海 / 人民邮电出版社 / 2008-1 / 55.00元
在本书中,作者回归技术层面。从Apache web server、BSD版本的Unix system、ArgoUMl、ACE网络编程库等著名开源软件中选取了大量真实C、C++和java语言源代码,直观而深刻的阐述了代码中可能存在的各种质量问题,涉及可靠性、安全性、时间性和空间性、可移植性、可维护性以及浮点运算等方面,很多内容都市独辟蹊径,发前人所未发。正因如此,本书继作者的《代码阅读》之后在获Jo......一起来看看 《高质量程序设计艺术》 这本书的介绍吧!
