码迷,mamicode.com
首页 > 编程语言
【Java安全技术探索之路系列:Java可扩展安全架构】之五:JCE(一):JCE架构介绍
作者:郭嘉 邮箱:allenwells@163.com 博客:http://blog.csdn.net/allenwells github:https://github.com/AllenWellJCE最初是作为JCA的扩展包开发的,旨在提供受美国出口控制条例管制的加密服务API和实现。JCE提供一个提供者实现和一组相关的API和包,以支持加密和解密,密钥的生成和协商以及消息验证算法,其中对加...
分类:编程语言   时间:2015-06-15 18:46:47    阅读次数:689
【Java安全技术探索之路系列:Java可扩展安全架构】之六:JCE(二):JCE类和接口
作者:郭嘉 邮箱:allenwells@163.com 博客:http://blog.csdn.net/allenwells github:https://github.com/AllenWell一 JCE提供者类JCE使用JCA的提供者类。二 JCE引擎类2.1 javax.crypto.CipherCipher(加密算法类)为加密算法提供加密和解密的功能。2.2 javax.crypto....
分类:编程语言   时间:2015-06-15 18:46:54    阅读次数:290
【Java安全技术探索之路系列:Java可扩展安全架构】之七:JCE(三):JCE编程模型
作者:郭嘉 邮箱:allenwells@163.com 博客:http://blog.csdn.net/allenwells github:https://github.com/AllenWell一 加密和解密加密是一种打乱消息、文件或程序的加密技术。JCE基本的加密和解密流程如下所示: 生成密钥 创建Cipher对象 为加密而初始化Cipher对象 为解密而初始化Cipher对象 举例:DE...
分类:编程语言   时间:2015-06-15 18:46:26    阅读次数:280
C and C++ Calling Convention
在C和C++中有几种调用约定:__cdecl,__stdcall,__fastcall,__thiscall,__clrcall,__vectorcall...
分类:编程语言   时间:2015-06-15 18:46:33    阅读次数:175
(3)风色从零单排《C++ Primer》 重要的基本类型
算数类型(Arithmetic Types) c++算数类型 Type Meaning Minimum Size bool boolean NA char character 8 bits wchar_t wide character 16 bits char16_t Unicode character 16 bi...
分类:编程语言   时间:2015-06-15 18:44:43    阅读次数:167
C++标准库和STL
一、C++标准库 C++标准库包括以下十类: 1)标准库中与语言支持功能相关 头文件 描        述 定义宏NULL和offsetof,以及其他标准类型size_t和ptrdiff_t。 与对应的标准C头文件的区别是,NULL是C++空指针常量的 补充定义,宏offsetof接受结构或者联合类型参数,只要他们 没...
分类:编程语言   时间:2015-06-15 18:44:50    阅读次数:1028
Scala与JAVA交互
Scala的一个强项在于可以很简单的于已有的Java代码交互,所有java.lang中的类都已经被自动导入了,而其他的类需要显式声明导入。 来看看演示代码吧。我们希望对日期进行格式化处理,比如说用法国的格式。 Java类库定义了一系列很有用的类,比如Date和DateFormat。由于Scala于Java能够进行很好的交互,我们不需要在Scala类库中实现等效的代码,而只需直接吧Java的相关...
分类:编程语言   时间:2015-06-15 18:43:25    阅读次数:115
java.io.IOException: This archive has already been finished
java.io.IOException: This archive has already been finished at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:406) at com.xunge.AESFileEnc...
分类:编程语言   时间:2015-06-15 18:43:53    阅读次数:225
算法:两种方式(递归/循环)实现二分查找
算法:两种方式(递归/循环)实现二分查找...
分类:编程语言   时间:2015-06-15 18:41:24    阅读次数:144
打地鼠 java
作死就打地鼠...
分类:编程语言   时间:2015-06-15 18:41:39    阅读次数:207
[JAVA]利用google的barcode4j生成二维码和条形码
[JAVA]利用google的barcode4j生成二维码和条形码 1.barcode4j介绍    barcode4j是一款开源的条形码生成库,该库由Java语言编写。能够生成很多种编码的条形码,比如:code-39,code-128等等; 2 .在官方网站上下载http://barcode4j.sourceforge.net/相应的文件...
分类:编程语言   时间:2015-06-15 18:42:57    阅读次数:688
黑马程序员_java 反射
------- android培训、java培训、期待与您交流! ----------反射反射只要知道其类对象就可以获得其内部所有属性对象和方法对象。只要知道其类的实例对象就可以获得其类对象。Class类。不同于关键字class,他是对java中各个类的封装,是对所有类的抽象描述,而某一个具体的类....
分类:编程语言   时间:2015-06-15 18:37:38    阅读次数:121
Solr相似度算法三:DRFSimilarity框架介绍
地址:http://terrier.org/docs/v3.5/dfr_description.htmlThe Divergence from Randomness (DFR) paradigm is a generalisation of one of the very first models ...
分类:编程语言   时间:2015-06-15 18:40:02    阅读次数:1614
钩子程序利用ManuResetEvent同步控制线程
这个程序主要还是靠钩子实现,然后利用manuResetEvent同步控制关机线程 。关机线程用重定向实现using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using ...
分类:编程语言   时间:2015-06-15 18:38:39    阅读次数:112
Java for LeetCode 223 Rectangle Area
Find the total area covered by two rectilinear rectangles in a 2D plane.Each rectangle is defined by its bottom left corner and top right corner as sh...
分类:编程语言   时间:2015-06-15 18:37:58    阅读次数:143
多线程测试并发
主要代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.T...
分类:编程语言   时间:2015-06-15 18:35:05    阅读次数:134
Java for LeetCode 221 Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:编程语言   时间:2015-06-15 18:34:55    阅读次数:1218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!