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.replies; /*ww w .j a va 2s . c o m*/ import java.io.UnsupportedEncodingException; import javax.crypto.spec.SecretKeySpec; import com.desperate.common.Utilities; public class LoginReplyMessage extends ReplyMessage { private static final long serialVersionUID = 6323719818125116841L; public SecretKeySpec keyEncryptionKey; @Override public String getStringToHMAC() { try { return timestamp + accepted.toString() + new String(keyEncryptionKey.getEncoded(), Utilities.charset); } catch (UnsupportedEncodingException e) { throw new RuntimeException(e); } } }