anon.mixminion.message
Class FragmentedMessage
java.lang.Object
anon.mixminion.message.MessageImplementation
anon.mixminion.message.FragmentedMessage
public class FragmentedMessage
- extends MessageImplementation
- Author:
- Stefan Roenisch
*
Method Summary |
byte[][] |
buildPayload()
|
(package private) byte[][] |
divideIntoFragments(byte[] payload)
Diese Methode fragmentiert eine Nachricht (nach der E2E.txt) |
(package private) byte[] |
FRAGMENT(byte[] M,
int K,
int N,
int I,
int PS)
soll den von der Nachricht m das i'te von N Paketen zurueckgeben |
private byte[] |
whiten(byte[] m)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_LEN
static final int KEY_LEN
- See Also:
- Constant Field Values
OVERHEAD
static final int OVERHEAD
- See Also:
- Constant Field Values
FRAGMENT_HEADER_LEN
static final int FRAGMENT_HEADER_LEN
- See Also:
- Constant Field Values
m_recipient
java.lang.String[] m_recipient
m_payload
byte[] m_payload
FragmentedMessage
public FragmentedMessage(java.lang.String[] recipient,
byte[] payload)
buildPayload
public byte[][] buildPayload()
- Overrides:
buildPayload
in class MessageImplementation
divideIntoFragments
byte[][] divideIntoFragments(byte[] payload)
- Diese Methode fragmentiert eine Nachricht (nach der E2E.txt)
- Parameters:
payload,
- the message to send
- Returns:
- the fragments of the Message
FRAGMENT
byte[] FRAGMENT(byte[] M,
int K,
int N,
int I,
int PS)
- soll den von der Nachricht m das i'te von N Paketen zurueckgeben
whiten
private byte[] whiten(byte[] m)