Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Forevery1 committed Sep 29, 2017
1 parent 5a1f4b2 commit e2fca39
Show file tree
Hide file tree
Showing 34 changed files with 1,674 additions and 1,674 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion encodeutils/.gitignore → EncryptUtils/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/build
/build
62 changes: 31 additions & 31 deletions encodeutils/build.gradle → EncryptUtils/build.gradle
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 encodeutils/proguard-rules.pro → EncryptUtils/proguard-rules.pro
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
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>
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();
}

}
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();
}
}
Loading

0 comments on commit e2fca39

Please sign in to comment.