I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit bc13f644 authored by zzz's avatar zzz
Browse files

Prop. 157 javadoc updates

parent 617fff17
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ public class BuildResponseRecord {
* @param status the response 0-255
* @param replyAD 32 bytes
* @param options 116 bytes max when serialized
* @return a 236-byte response record
* @return a 218-byte response record
* @throws IllegalArgumentException if options too big or on encryption failure
* @since 0.9.51
*/
......@@ -111,10 +111,10 @@ public class BuildResponseRecord {
/**
* Encrypts in place.
* Handles both standard (528) and short (236) byte records as of 0.9.51.
* Handles both standard (528) and short (218) byte records as of 0.9.51.
*
* @param ad non-null
* @param data 528 or 236 bytes, data will be encrypted in place.
* @param data 528 or 218 bytes, data will be encrypted in place.
* @return success
* @since 0.9.48
*/
......@@ -131,12 +131,12 @@ public class BuildResponseRecord {
/*
* ChaCha/Poly only for ECIES routers.
* Handles both standard (528) and short (236) byte records as of 0.9.51.
* Handles both standard (528) and short (218) byte records as of 0.9.51.
* Decrypts in place.
* Status will be rec.getData()[511 or 219].
* Properties will be at rec.getData()[0].
*
* @param rec 528 or 236 bytes, data will be decrypted in place.
* @param rec 528 or 218 bytes, data will be decrypted in place.
* @param ad non-null
* @return success
* @since 0.9.48
......
......@@ -2,7 +2,7 @@ package net.i2p.data.i2np;
/**
* Small records.
* 236 bytes.
* 218 bytes.
* Preliminary, see proposal 157.
*
* Note that these are layer-encrypted and layer-decrypted in-place.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment