Skip to content

Commit d0b834b

Browse files
committed
Add a sentence about big-endian
1 parent 637f1da commit d0b834b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/shared-private-data.md

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Individual device exchange keys are versioned. The protocol version is derived f
4343

4444
The file's content is 256 bytes of the exchange key's RSA public modulus encoded as big-endian unsigned integer.
4545

46+
Note: Using big-endian here is inconsistent with WNFS's use of little-endian encoding for integers in general, but it's the more common encoding for RSA numbers.
47+
4648
See the [test vectors](#exchange-key-test-vectors) for examples.
4749

4850
### 2.2 Merging

0 commit comments

Comments
 (0)