Android Open Source - schat Crypto Constants






From Project

Back to project page schat.

License

The source code is released under:

MIT License

If you think the Android project schat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package crypto;
//from   w ww .  j  ava 2 s .c  o m
/**
 * This class contains all decisions regarding encryption and decryption algorithms and key sizes.
 * @version 30.11.2013
 * @author Elias Frantar
 */
public class CryptoConstants {

    public static final String symm_alg = "AES";
    public static final String symm_mode = "CBC";
    public static final String symm_padding = "PKCS5Padding";
    public static final int symm_keylength = 128;

    public static final String asymm_alg = "RSA";
    public static final String asymm_mode = "ECB";
    public static final String asymm_padding = "PKCS1Padding";
    public static final int asymm_keylength = 2048;

    public static final String signature_alg = "SHA256withRSA";

    public static final String digest_alg = "SHA256";

}




Java Source Code List

.ServerMain.java
com.activities.Activity_Chat.java
com.activities.Activity_ContactList.java
com.activities.ContactView.java
com.data.AddContact.java
com.data.AndroidSQLManager.java
com.data.ApplicationUser.java
com.data.ChatAdapter.java
com.data.ChatArrayList.java
com.data.MySQLiteHelper.java
com.security.AndroidKeyPairManager.java
com.security.PRNGFixes.java
com.services.MessageService.java
crypto.CryptoConstants.java
crypto.Cryptography.java
crypto.Envelope.java
crypto.SecureMessage.java
crypto.TestCrypto.java
data.ChatMessage.java
data.Content.java
data.DatabaseManager.java
data.KeyPairManager.java
data.Message.java
data.SQLiteManager.java
data.User.java
data.contents.ChatContent.java
data.contents.LoginSuccess.java
data.contents.Login.java
data.contents.PublicKeyRequest.java
data.contents.PublicKeyResponse.java
data.contents.Registration.java
networking.SChatClientListener.java
networking.SChatClientWriter.java
networking.SChatClient.java
networking.SChatServerThread.java
networking.SChatServer.java