(4.2.35.1)数据加密:Conceal
来源:互联网 发布:欧洲杯 网络直播 编辑:程序博客网 时间:2024/05/21 22:33
Conceal
Conceal 是 Facebook 推出的一个用来对数据进行快速加密和认证的开发包,应用可以使用它来加密数据和大文件存储。Conceal 和其他加密软件不同的是它提供了 Smorgasbord 加密算法和选项,这不是一个一般意义上的数据加密包,只是提供一些有用的方法。
示例代码:
// Creates a new Crypto object with default implementations of // a key chain as well as native library.Crypto crypto = new Crypto( new SharedPrefsBackedKeyChain(context), new SystemNativeCryptoLibrary()); FileOutputStream fileStream = new FileOutputStream(file); // Creates an output stream which encrypts the data as// it is written to it and writes it out to the file.OutputStream outputStream = crypto.getCipherOutputStream( fileStream, entity); // Write plaintext to it.outputStream.write(plainText);outputStream.close();
项目主页:http://www.open-open.com/lib/view/home/1424578047010
0 0
- (4.2.35.1)数据加密:Conceal
- (4.2.35)数据加密:SQLCipher和Conceal
- Facebook 开源数据加密API-Conceal
- 加密工具 conceal使用
- android 加密 SQLCipher和Conceal
- Android本地数据安全尝试(中)——Conceal
- Android使用Facebook Conceal进行文件或文本内容的加密解密
- (4.2.35.2)数据加密:Base64
- (4.2.35.3)数据加密:SQLCipher
- 数据加密(1)
- 数据加密(2)
- C语言加密数据(xor加密)
- android数据加密(二)AES加密
- 数据加密
- 数据加密
- 数据加密
- 数据加密
- 数据加密
- Bessie hears that an extraordinary meteor shower is coming; reports say that these meteors will cras
- NAT 原理与NAT穿越
- JS拖拽元素 兼容IE (未测试)
- SQL to MongoDB
- Matrix67的情书 题解 恺撒移位密码
- (4.2.35.1)数据加密:Conceal
- 程序员如何谋划出月薪3万
- 常用知识备份
- FZU-2150-Fire Game
- HashMap的工作原理
- JS实现无刷新倒计时(未测试)
- 使用nmap 验证多种漏洞
- java之实现类HashSet与TreeSet
- CSS3计算calc和vw单位巧妙实现滚动条出现页面不跳动