Back to project page CipherChat.
The source code is released under:
MIT License
If you think the Android project CipherChat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.desperate.common.messages; /*from w w w .ja va 2s . c om*/ import com.desperate.common.Message; public class LoginMessage extends Message { private static final long serialVersionUID = -3624779800555467623L; public String username; public String password; public LoginMessage(){ } public LoginMessage(String username, String password){ this.username = username; this.password = password; } @Override public String getStringToHMAC() { return username + password + timestamp; } }