Changeset 7424fdd


Ignore:
Timestamp:
Oct 2, 2010 2:45:13 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
939dcee
Parents:
4456048
Message:

javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/data/i2np/BuildRequestRecord.java

    r4456048 r7424fdd  
    1010
    1111/**
    12  * Hold the tunnel request record, managing its encryption and decryption.
     12 * Hold the tunnel request record, managing its ElGamal encryption and decryption.
     13 * Iterative AES encryption/decryption is done elsewhere.
     14 *
    1315 * Cleartext:
    1416 * <pre>
     
    2729 * </pre>
    2830 *
     31 * Encrypted:
     32 * <pre>
     33 *   bytes    0-15: First 16 bytes of router hash
     34 *   bytes  16-527: ElGamal encrypted block (discarding zero bytes at elg[0] and elg[257])
     35 * </pre>
     36 *
    2937 */
    3038public class BuildRequestRecord {
     
    153161    /**
    154162     * Encrypt the record to the specified peer.  The result is formatted as: <pre>
    155      *   bytes 0-15: SHA-256-128 of the current hop's identity (the toPeer parameter)
     163     *   bytes 0-15: truncated SHA-256 of the current hop's identity (the toPeer parameter)
    156164     * bytes 15-527: ElGamal-2048 encrypted block
    157165     * </pre>
Note: See TracChangeset for help on using the changeset viewer.