-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
97 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,31 @@ | ||
# AES | ||
|
||
## Runtime Environment | ||
- [Java 7](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) | ||
|
||
## Short & Quick introduction | ||
|
||
### Features | ||
## Features | ||
- Symmetric key symmetric block cipher | ||
- 128-bit data, 128/192/256-bit keys | ||
- Stronger and faster than Triple-DES | ||
- Provide full specification and design details | ||
- Software implementable in C and Java | ||
|
||
### Operation of AES | ||
![Operation of AES](http://www.wailian.work/images/2018/03/14/OperationofAES.jpg) | ||
## Operation of AES | ||
![Operation of AES](https://www.wailian.work/images/2018/03/14/OperationofAES.jpg) | ||
|
||
### Encryption Process | ||
![Encryption Process](http://www.wailian.work/images/2018/03/14/EncryptionProcess.jpg) | ||
## Encryption Process | ||
![Encryption Process](https://www.wailian.work/images/2018/03/14/EncryptionProcess.jpg) | ||
|
||
1. Byte Substitution (SubBytes) | ||
1. Shift rows | ||
1. Mix Columns | ||
1. Add round key | ||
|
||
### Decryption Process | ||
## Decryption Process | ||
1. Add round key | ||
1. Mix columns | ||
1. Shift rows | ||
1. Byte substitution | ||
|
||
## Links | ||
## References | ||
- [Java AES (Advanced Encryption Standard) Algorithm Example](https://howtodoinjava.com/security/java-aes-encryption-example/) | ||
- [Advanced Encryption Standard](http://www.java2s.com/Tutorial/Java/0490__Security/0320__Digital-Signature-Algorithm.htm) | ||
- [Advanced Encryption Standard](https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm) | ||
- [Java使用AES加解密](http://blog.csdn.net/elim168/article/details/73456866) | ||
- [Java使用AES加解密](http://blog.csdn.net/elim168/article/details/73456866) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,8 @@ Security | |
:maxdepth: 2 | ||
:numbered: 0 | ||
|
||
aes | ||
dsa | ||
rsa | ||
https | ||
SSL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Security | ||
|
||
## Contents | ||
- [AES](aes/README.md) | ||
- [DSA](dsa/README.md) | ||
- [RSA](rsa/README.md) | ||
- [AES](../doc/source/security/aes.md) | ||
- [DSA](../doc/source/security/dsa.md) | ||
- [ECDSA](../doc/source/security/dsa.md#ecdsa) | ||
- [RSA](../doc/source/security/rsa.md) | ||
- [HTTPS](../doc/source/security/https.md) | ||
- [SSL/TLS](../doc/source/security/SSL.md) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ty/aes/src/main/java/com/evangel/AES.java → ...src/main/java/t5750/security/aes/AES.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...main/java/com/java2s/AesKeyGenerator.java → .../security/aes/java2s/AesKeyGenerator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.java2s; | ||
package t5750.security.aes.java2s; | ||
|
||
import java.security.Key; | ||
import java.security.Security; | ||
|
2 changes: 1 addition & 1 deletion
2
...src/main/java/com/java2s/AesWrapsRsa.java → ...5750/security/aes/java2s/AesWrapsRsa.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.java2s; | ||
package t5750.security.aes.java2s; | ||
|
||
import java.security.*; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../java/com/java2s/CreateSecretKeySpec.java → ...urity/aes/java2s/CreateSecretKeySpec.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.java2s; | ||
package t5750.security.aes.java2s; | ||
|
||
import java.security.Key; | ||
import java.security.Security; | ||
|
2 changes: 1 addition & 1 deletion
2
.../TamperedMessageEncryptionWithDigest.java → .../TamperedMessageEncryptionWithDigest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.java2s; | ||
package t5750.security.aes.java2s; | ||
|
||
import java.security.*; | ||
|
||
|
Oops, something went wrong.