-
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
34 changed files
with
1,674 additions
and
1,674 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/build | ||
/build |
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,31 +1,31 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion "26.0.1" | ||
|
||
defaultConfig { | ||
minSdkVersion 19 | ||
targetSdkVersion 26 | ||
versionCode 1 | ||
versionName "1.0" | ||
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
|
||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
compile 'com.android.support:appcompat-v7:26.+' | ||
testCompile 'junit:junit:4.12' | ||
} | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion "26.0.1" | ||
|
||
defaultConfig { | ||
minSdkVersion 19 | ||
targetSdkVersion 26 | ||
versionCode 1 | ||
versionName "1.0" | ||
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
|
||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
compile 'com.android.support:appcompat-v7:26.+' | ||
testCompile 'junit:junit:4.12' | ||
} |
50 changes: 25 additions & 25 deletions
50
encodeutils/proguard-rules.pro → EncryptUtils/proguard-rules.pro
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,25 +1,25 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in D:\Android\sdk/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
# Add any project specific keep options here: | ||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in D:\Android\sdk/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
20 changes: 10 additions & 10 deletions
20
encodeutils/src/main/AndroidManifest.xml → EncryptUtils/src/main/AndroidManifest.xml
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,10 +1,10 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
|
||
package="org.forevery.EncodeUtils"> | ||
|
||
<application android:allowBackup="true" android:label="@string/app_name" | ||
android:supportsRtl="true"> | ||
|
||
</application> | ||
|
||
</manifest> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
|
||
package="org.forevery.EncryptUtils"> | ||
|
||
<application android:allowBackup="true" android:label="@string/app_name" | ||
android:supportsRtl="true"> | ||
|
||
</application> | ||
|
||
</manifest> |
48 changes: 24 additions & 24 deletions
48
...very/EncodeUtils/Encode/AES/Aes_Util.java → ...ery/EncryptUtils/Encode/AES/Aes_Util.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,25 +1,25 @@ | ||
package org.forevery.EncodeUtils.Encode.AES; | ||
|
||
/** | ||
* Created by Forevery on 2017/5/21. | ||
*/ | ||
|
||
import org.forevery.EncodeUtils.Encode.AES.CBC.CBC_Ut; | ||
import org.forevery.EncodeUtils.Encode.AES.ECB.ECB_Ut; | ||
|
||
/** | ||
* AES加密解密算法 | ||
* | ||
* | ||
*/ | ||
public class Aes_Util { | ||
|
||
public CBC_Ut CBC() { | ||
return new CBC_Ut(); | ||
} | ||
|
||
public ECB_Ut ECB() { | ||
return new ECB_Ut(); | ||
} | ||
|
||
package org.forevery.EncryptUtils.Encode.AES; | ||
|
||
/** | ||
* Created by Forevery on 2017/5/21. | ||
*/ | ||
|
||
import org.forevery.EncryptUtils.Encode.AES.CBC.CBC_Ut; | ||
import org.forevery.EncryptUtils.Encode.AES.ECB.ECB_Ut; | ||
|
||
/** | ||
* AES加密解密算法 | ||
* | ||
* | ||
*/ | ||
public class Aes_Util { | ||
|
||
public CBC_Ut CBC() { | ||
return new CBC_Ut(); | ||
} | ||
|
||
public ECB_Ut ECB() { | ||
return new ECB_Ut(); | ||
} | ||
|
||
} |
28 changes: 14 additions & 14 deletions
28
...ry/EncodeUtils/Encode/AES/CBC/CBC_Ut.java → ...y/EncryptUtils/Encode/AES/CBC/CBC_Ut.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,14 +1,14 @@ | ||
package org.forevery.EncodeUtils.Encode.AES.CBC; | ||
|
||
import org.forevery.EncodeUtils.Encode.AES.CBC.PKCS5Padding.PKCS5Paddimg_Ulits; | ||
|
||
/** | ||
* Created by Forevery on 2017/9/29. | ||
*/ | ||
|
||
public class CBC_Ut { | ||
|
||
public PKCS5Paddimg_Ulits PKCS5Paddimg() { | ||
return new PKCS5Paddimg_Ulits(); | ||
} | ||
} | ||
package org.forevery.EncryptUtils.Encode.AES.CBC; | ||
|
||
import org.forevery.EncryptUtils.Encode.AES.CBC.PKCS5Padding.PKCS5Paddimg_Ulits; | ||
|
||
/** | ||
* Created by Forevery on 2017/9/29. | ||
*/ | ||
|
||
public class CBC_Ut { | ||
|
||
public PKCS5Paddimg_Ulits PKCS5Paddimg() { | ||
return new PKCS5Paddimg_Ulits(); | ||
} | ||
} |
Oops, something went wrong.