【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
每次开发项目时,应用程序的代码安全性一直都是一个令人头疼的问题,如果你们公司
的软件代码被别人破解,那基本少不了你的BOSS与其他BOSS的官司或者其他的麻烦事情
。
既然今天的主题是Metro应用如何加密,那首先来了解下关于Metro风格App的几个专业术语。
行,让我们假设一下,你去参加一个公司的面试,应聘职位就是为未来的Windows 8的
Metro App来加密。请问你是否准备好了,也许上面链接会给你几个到时候能派上用场的
词汇,但是如果问到关于加密软件的工作经验时,你该怎么办?
首先,你很可能需要了解下与加密技术有关的命名空间,以下就是参考的链接地址:
一般来说我喜欢把真个命名空间的东西都列举出来看个究竟,这样能我的脑子好好的记
住它。如果还是记不住,我会用一个Flash的卡片生成应用来生成一张图片卡随身记忆
:D
下面就是与软件加密相关的命名空间与类
Windows.Security.Cryptography.Certificates
- Contains classes, interfaces, and enumeration types that enable you to:
- Create a certificate request
- Install a certificate response
- Import a certificate in a PFX file
- Specify and retrieve certificate request properties
Windows.Security.Cryptography.Core
Contains classes and enumeration types that enable you to:
- Encrypt and decrypt data
- Hash data
- Sign data and verify signatures
- Create, import, and export keys
- Work with asymmetric key algorithm providers
- Work with symmetric key algorithm providers
- Work with hash algorithm providers
- Work with machine authentication code (MAC) algorithm providers
- Work with key derivation algorithm providers
Windows.Security.Cryptography.DataProtection
Contains classes that enable you to:
- Asynchronously encrypt and decrypt static data
- Asynchronously encrypt and decrypt data streams