logos-co / nomos-specs

Nomos related specification and documentation
2 stars 2 forks source link

DA: Encode arbitrary data #87

Closed danielSanchezQ closed 4 months ago

danielSanchezQ commented 4 months ago

We use field elements of size 32 bytes, but not every arbitrary 32 bytes can be encoded as field points in the bls381 curve. For that we can only chunk up to 31 bytes which are then extended to 32 bytes elements.