加密学教程(Cryptography Tuturials)文件夹
太阳火神的漂亮人生 (http://blog.csdn.net/opengl_es)
本文遵循“署名-非商业用途-保持一致”创作公用协议
Cryptography Tutorials - Herong's Tutorial Notes
Version 4.00
Dr. Herong Yang
Copyright © 1998 - 2007 by Dr. Herong Yang. All rights reserved.
Table of Contents
- Cryptography Terminology
- Cryptography
- Function
- Encryption
- Block Cipher
- DES (Data Encryption Standard) Cipher Algorithm
- DES Key Schedule (Round Keys Generation) Algorithm
- DES Decryption Algorithm
DES Algorithm - Illustrated with Java Programs
- DESSubkeysTest.java - DES Key Schedule Algorithm Illustration
- DESCipherTest.java - DES Cipher Algorithm Illustration
DES Algorithm - Java Implementation
- CipherDES.java - A Simple Java Implementation of DES
- Test Cases of DES Encryption and Decryption
DES Algorithm - Java JCE SUN Implementation
- DES Java Implementation by Sun
- Using DES Algorithm in JDK JCE Package
- Test Cases of DES Encryption and Decryption
- What Is PKCS5Padding?
- JceSunDesPaddingTest.java - JCE DES Padding Testing Program
DES Algorithm - Operation Modes and JCE SUN Implementation
- DES Encryption Operation Modes
- What is ECB (Electronic CodeBook) Operation Mode?
- What is CBC (Cipher Block Chaining) Operation Mode?
- What is CFB (Cipher FeedBack) Operation Mode?
- What is OFB (Output FeedBack) Operation Mode?
- Sun Java Implementation of DES Operation Modes
- JceSunDesOperationModeTest.java - JCE DES Operation Mode Testing Program
- Test Cases of DES Operation Modes
DES Algorithm - Stream Cipher Modes and JCE SUN Implementation
- DES in Stream Cipher Modes
- CFB (Cipher FeedBack) Operation Mode as a Stream Cipher
- OFB (Output FeedBack) Operation Mode as a Stream Cipher
- Sun Java Implementation of DES Operation Modes
- JceSunDesStreamCipherTest.java - JCE DES Stream Cipher Mode Testing Program
- Test Cases of DES Stream Cipher Modes
DES Algorithm - PHP Implementation in mcrypt
- mcrypt Library for PHP
- mcrypt Encryption Functions
- des_mcrypt_operation_mode_test.php - mcrypt Operation Mode Test PHP Script
- Block Padding in mcrypt
- Other PHP Implementations of DES Algorithm
JDK/JCE - Cipher for Encryption and Decryption
- The Cipher Class
- JceSecretCipher.java - Cipher with Secret Key
- JcePublicCipher.java - Cipher with Private and Public Key Pair
- Block Cipher
- Blowfish Cipher Algorithm
- Blowfish Key Schedule (Sub-Keys Generation) Algorithm
- BlowfishJ - Java Implementation by Markus Hahn
- Blowfish Decryption Algorithm
- 8366 Hex Digits of PI
Message Digest - MD5 Algorithm
- What is MD5?
- MD5 Algorithm Overview
- MD5 Implementation in Java
- MD5 Implementation in PHP
- MD5 Implementation in Perl
Message Digest - SHA1 Algorithm
- What is SHA1?
- SHA1 Algorithm Overview
- SHA1 Implementation in Java
- SHA1 Implementation in PHP
- SHA1 Implementation in Perl
OpenSSL - Installation on Windows
- What is OpenSSL?
- Installing OpenSSL on Windows
OpenSSL - Generating RSA Private and Public Keys
- What is RSA?
- Generating RSA Key Pairs
- Viewing Components of RSA Keys
- Encrypting RSA Keys
OpenSSL - Generating Self-Signed Certificates
- What is a certificate?
- Generating Self-Signed Certificates
- Viewing Components of Certificates
OpenSSL - Signing Certificates from Others
- Why Certificates Need to Be Signed by CAs?
- Generating a Certificate Signing Request for Your Own Public Key
- Viewing Components of Certificate Signing Request
- Signing a Certificate Signing Request
OpenSSL - Certification Path and Validation
- What Is a Certification Path?
- Certification Path Validation
- Certification Path Testing with OpenSSL
keytool - JDK Tool to Manage Certificates Using 'keystore'
- Certificates and Certificate Chains
- What is "keystore"?
- "keytool" - Key and Certificate Management Tool
- "keytool" Example - Generating Key Pairs and Self-Signed Certificates
- "keytool" Example - Exporting and Import Certificates
- "keytool" Example - Cloning Certificates with New Identities
Using Certificates with Web Browsers
- Why Using Certificates with Browser?
- Exporting Certificates Out of Internet Explorer (IE)
- Importing Certificates into IE
- View Certificates in FireFox
- Importing Certificates into FireFox
'OpenSSL' Signing CSR Generated by 'keytool'
- Using "OpenSSL" to Act as a CA (Certificate Authority)
- "OpenSSL" Generating CA's Private Key
- "OpenSSL" Self-signing CA's Public Key Certificate
- "keytool" Generating Maria's Private Key
- "keytool" Generating Maria's CSR (Certificate Sign Request)
- "OpenSSL" Signing Maria's CSR (Certificate Sign Request)
- "keytool" Managing Serial Numbers when Signing CSR
- "keytool" Importing CA's Certificate into Keystore Files
- "keytool" Importing Maria's Own Certificate
Migrating Keys from 'keytool' to 'OpenSSL'
- "keytool" Generating Private and Public Key Pair
- "keytool" Exporting PrivateKeyEntry
- "keytool" Printing Certificate Details
- "OpenSSL" Viewing "keytool" Generated Certificates
- DumpKey.java - Dumping Private Keys Out of "keystore"
- "OpenSSL" Converting Keys from Binary to PEM
- "OpenSSL" Viewing "keytool" Keys
Certificate Formats - X.509, DER and PEM
- X.509 Certificate Standard
- PEM (Privacy Enhanced Mail) Encoding
- DER (Distinguished Encoding Rules) Encoding
- "keytool" Exporting Certificates in DER and PEM
- "OpenSSL" Verifying "keytool" Certificates
- "OpenSSL" Generating Certificates in DER and PEM
- "keytool" Viewing "OpenSSL" Certificates
- "keytool" Importing "OpenSSL" Certificates
Key Formats PKCS#8 and PKCS#12 and Migration
- What is PKCS#8?
- What is PKCS#12?
- "OpenSSL" Private Key in Traditional Format
- "OpenSSL" Private Key in PKCS#8 Format
- "OpenSSL" Key and Certificate in PKCS#12 Format
- "keytool" Converting PKCS12 to JKS
- Summary - Migrating "OpenSSL" Keys to "keytool"
- Summary - Migrating "keytool" Keys to "OpenSSL"
Key Words: blowfish, CA, certificate, certification path, cipher, CSR, decryption, DER, DES, digest, encryption, Java, JCE, JDK, keytool, MD5, message, OpenSSL, PEM, PKCS#8, PKCS#12, private key, public key, RSA, secret key, self-signed certificate, SHA1, SSL, X.509
Cryptography Tutorials - Herong's Tutorial Notes
Version 4.00
Dr. Herong Yang
Copyright © 1998 - 2007 by Dr. Herong Yang. All rights reserved.
Table of Contents
- Cryptography Terminology
- Cryptography
- Function
- Encryption
- Block Cipher
- DES (Data Encryption Standard) Cipher Algorithm
- DES Key Schedule (Round Keys Generation) Algorithm
- DES Decryption Algorithm
DES Algorithm - Illustrated with Java Programs
- DESSubkeysTest.java - DES Key Schedule Algorithm Illustration
- DESCipherTest.java - DES Cipher Algorithm Illustration
DES Algorithm - Java Implementation
- CipherDES.java - A Simple Java Implementation of DES
- Test Cases of DES Encryption and Decryption
DES Algorithm - Java JCE SUN Implementation
- DES Java Implementation by Sun
- Using DES Algorithm in JDK JCE Package
- Test Cases of DES Encryption and Decryption
- What Is PKCS5Padding?
- JceSunDesPaddingTest.java - JCE DES Padding Testing Program
DES Algorithm - Operation Modes and JCE SUN Implementation
- DES Encryption Operation Modes
- What is ECB (Electronic CodeBook) Operation Mode?
- What is CBC (Cipher Block Chaining) Operation Mode?
- What is CFB (Cipher FeedBack) Operation Mode?
- What is OFB (Output FeedBack) Operation Mode?
- Sun Java Implementation of DES Operation Modes
- JceSunDesOperationModeTest.java - JCE DES Operation Mode Testing Program
- Test Cases of DES Operation Modes
DES Algorithm - Stream Cipher Modes and JCE SUN Implementation
- DES in Stream Cipher Modes
- CFB (Cipher FeedBack) Operation Mode as a Stream Cipher
- OFB (Output FeedBack) Operation Mode as a Stream Cipher
- Sun Java Implementation of DES Operation Modes
- JceSunDesStreamCipherTest.java - JCE DES Stream Cipher Mode Testing Program
- Test Cases of DES Stream Cipher Modes
DES Algorithm - PHP Implementation in mcrypt
- mcrypt Library for PHP
- mcrypt Encryption Functions
- des_mcrypt_operation_mode_test.php - mcrypt Operation Mode Test PHP Script
- Block Padding in mcrypt
- Other PHP Implementations of DES Algorithm
JDK/JCE - Cipher for Encryption and Decryption
- The Cipher Class
- JceSecretCipher.java - Cipher with Secret Key
- JcePublicCipher.java - Cipher with Private and Public Key Pair
- Block Cipher
- Blowfish Cipher Algorithm
- Blowfish Key Schedule (Sub-Keys Generation) Algorithm
- BlowfishJ - Java Implementation by Markus Hahn
- Blowfish Decryption Algorithm
- 8366 Hex Digits of PI
Message Digest - MD5 Algorithm
- What is MD5?
- MD5 Algorithm Overview
- MD5 Implementation in Java
- MD5 Implementation in PHP
- MD5 Implementation in Perl
Message Digest - SHA1 Algorithm
- What is SHA1?
- SHA1 Algorithm Overview
- SHA1 Implementation in Java
- SHA1 Implementation in PHP
- SHA1 Implementation in Perl
OpenSSL - Installation on Windows
- What is OpenSSL?
- Installing OpenSSL on Windows
OpenSSL - Generating RSA Private and Public Keys
- What is RSA?
- Generating RSA Key Pairs
- Viewing Components of RSA Keys
- Encrypting RSA Keys
OpenSSL - Generating Self-Signed Certificates
- What is a certificate?
- Generating Self-Signed Certificates
- Viewing Components of Certificates
OpenSSL - Signing Certificates from Others
- Why Certificates Need to Be Signed by CAs?
- Generating a Certificate Signing Request for Your Own Public Key
- Viewing Components of Certificate Signing Request
- Signing a Certificate Signing Request
OpenSSL - Certification Path and Validation
- What Is a Certification Path?
- Certification Path Validation
- Certification Path Testing with OpenSSL
keytool - JDK Tool to Manage Certificates Using 'keystore'
- Certificates and Certificate Chains
- What is "keystore"?
- "keytool" - Key and Certificate Management Tool
- "keytool" Example - Generating Key Pairs and Self-Signed Certificates
- "keytool" Example - Exporting and Import Certificates
- "keytool" Example - Cloning Certificates with New Identities
Using Certificates with Web Browsers
- Why Using Certificates with Browser?
- Exporting Certificates Out of Internet Explorer (IE)
- Importing Certificates into IE
- View Certificates in FireFox
- Importing Certificates into FireFox
'OpenSSL' Signing CSR Generated by 'keytool'
- Using "OpenSSL" to Act as a CA (Certificate Authority)
- "OpenSSL" Generating CA's Private Key
- "OpenSSL" Self-signing CA's Public Key Certificate
- "keytool" Generating Maria's Private Key
- "keytool" Generating Maria's CSR (Certificate Sign Request)
- "OpenSSL" Signing Maria's CSR (Certificate Sign Request)
- "keytool" Managing Serial Numbers when Signing CSR
- "keytool" Importing CA's Certificate into Keystore Files
- "keytool" Importing Maria's Own Certificate
Migrating Keys from 'keytool' to 'OpenSSL'
- "keytool" Generating Private and Public Key Pair
- "keytool" Exporting PrivateKeyEntry
- "keytool" Printing Certificate Details
- "OpenSSL" Viewing "keytool" Generated Certificates
- DumpKey.java - Dumping Private Keys Out of "keystore"
- "OpenSSL" Converting Keys from Binary to PEM
- "OpenSSL" Viewing "keytool" Keys
Certificate Formats - X.509, DER and PEM
- X.509 Certificate Standard
- PEM (Privacy Enhanced Mail) Encoding
- DER (Distinguished Encoding Rules) Encoding
- "keytool" Exporting Certificates in DER and PEM
- "OpenSSL" Verifying "keytool" Certificates
- "OpenSSL" Generating Certificates in DER and PEM
- "keytool" Viewing "OpenSSL" Certificates
- "keytool" Importing "OpenSSL" Certificates
Key Formats PKCS#8 and PKCS#12 and Migration
- What is PKCS#8?
- What is PKCS#12?
- "OpenSSL" Private Key in Traditional Format
- "OpenSSL" Private Key in PKCS#8 Format
- "OpenSSL" Key and Certificate in PKCS#12 Format
- "keytool" Converting PKCS12 to JKS
- Summary - Migrating "OpenSSL" Keys to "keytool"
- Summary - Migrating "keytool" Keys to "OpenSSL"
Key Words: blowfish, CA, certificate, certification path, cipher, CSR, decryption, DER, DES, digest, encryption, Java, JCE, JDK, keytool, MD5, message, OpenSSL, PEM, PKCS#8, PKCS#12, private key, public key, RSA, secret key, self-signed certificate, SHA1, SSL, X.509
加密学教程(Cryptography Tuturials)文件夹的更多相关文章
- Cocos2d-x 3.0final 终结者系列教程03-源代码文件夹说明
话说今天从霍营到回龙观,走到天鑫家园东路.我肋哥去,堵死我啦.7:30出门,9:10还没到回龙观. 北京这交通真是坑爹.回过头想想.怪自己走小路,有时候确实快.可有时候真堵. 堵了35分钟后果断掉头, ...
- mac系统怎么给文件夹加密?mac文件夹加密教程
mac系统怎么给文件夹加密?目前来说,若想要对你的Mac OS下面的文件进行加密的话有三种方法可以可以做到,第一种方法,Mac自带磁盘工具:第二种方法,例如BatterZip此类Mac压缩解压工具打包 ...
- 使用Windows EFS(怎么给文件夹加密)进行文件加密
和Windows BitLocker一样,Encrypting File System(EFS,加密文件系统)是Windows内置的一套基于公共密钥的加密机制,可以加密NTFS分区上的文件和文件夹,能 ...
- C# 文件夹加密
可以加密文件内容,也可以对文件夹本身进行加密,本文对文件夹加密. 一.指定或生成一个密钥 1)指定的密钥 /// <summary> /// 密钥,这个密码可以随便指定 /// </ ...
- 通达OA 小飞鱼工作流在线培训教程文件夹及意见征集
最近通达OA技术交流群有不少朋友反映说表单设计这块 改动样式的问题,这块须要html和css的改动.本来最近正好要在工作流这块准备做一个系列的课程,都是基础的设置主要是给刚接触工作流的朋友用的,大家有 ...
- mac系统下给文件夹加密方法
电脑里我们往往会有许多隐私的文件,不希望被别人看到,在过去的Windows电脑里,我们习惯性的会在文件夹中将该文件隐藏,但是这个隐藏是不安全的,遇到稍微会点电脑技术的人就可以给你解开,安全性不高,ma ...
- 无需软件windows如何加密文件夹
在百部百科上看到,放在博客中以便查看. 1.首先打开记事本,当然如果你的电脑里装有类似notepad++的文本编辑软件的也可以,但是不能用word.用这类软件好处是代码高亮,看上去舒服,减少错误率. ...
- python操作txt文件中数据教程[3]-python读取文件夹中所有txt文件并将数据转为csv文件
python操作txt文件中数据教程[3]-python读取文件夹中所有txt文件并将数据转为csv文件 觉得有用的话,欢迎一起讨论相互学习~Follow Me 参考文献 python操作txt文件中 ...
- 用cmd加密文件夹
随着电脑的广泛应用,个人电脑的私人空间越来越大,很多人喜欢把个人的一些私隐的文件存放在电脑上,私隐文件当然是不想别人看到的,为了防止别人看不见自己的文件,可以有很多的方法,今天在网上看了一些文档,学会 ...
随机推荐
- No operations allowed after connection closed--转
https://www.jianshu.com/p/1626d41572f2 Spring boot的单数据源配置比较简单,只需要在application.properties配置相关的jdbc连接的 ...
- 无法定位程序输入点_except_handler4_common于动态链接库msvcrt.dll
这是由于sp3加载的驱动造成的:只需要将C:\WINDOWS\system32\dwmapi.dll重新命名一下即可以解决. 可以调试程序当系统加载到“c:\Program Files\China M ...
- 解决:efi usb device has been blocked by the current security policy
解决:efi usb device has been blocked by the current security policy 问题描述:U盘装系统或者其他操作时,是因为BIOS安全策略,出现上述 ...
- [转][IPC通信]基于管道的popen和pclose函数
标准I/O函数库提供了popen函数,它启动另外一个进程去执行一个shell命令行. 这里我们称调用popen的进程为父进程,由popen启动的进程称为子进程. popen函数还创建一个管道用于父子进 ...
- 把多种验证规则用到一个model上
基于标记特性的Model验证,真的太棒了,与jquery validate结合后激情四射,有木有,一句话完成前后端验证.简直让人秒爱... 但是爱是爱了,生活中总会有些小摩擦,这不问题来了:看图中那个 ...
- C#入门经典 Chapter4 流程控制
4.1布尔逻辑 布尔比较运算符 == != < > <= >= 处理布尔值的布尔值运算符 ! & | ^(异或) 条件布尔运算符 &&am ...
- 新浪云虚拟机ftp链接显示失败问题
新浪云虚拟机ftp链接显示失败问题 测试是在局域网遇到的 域名解析可以ping有字节回复 账号密码也没有错误,但是链接一直出现 连接失败 拒接连接等问题 解决办法: 其实是局域网内的问题,这 ...
- UVM基础之--------uvm_root
uvm_root 是uvm的顶层实例扮演了一个top-level and phase controller 的作用,对于component来说.该类不需要用户实例化,他是一个自动实例化了的类,用户直接 ...
- jQuery——切换toggle
toggle()-----显示隐藏 toggleClass-------添加类或者删除类 <!DOCTYPE html> <html lang="en"> ...
- jquery jstree 插件的使用
最近一个项目 需要用到jstree 这个jQuery插件,就研究了下,做目录树 菜单还是很强大的,下面对经常会用到几个用法做下说明. 1. 首先页面 引用 jquery.jstree 2. html ...