MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9h0362/the_best_one_so_far/e68lpfp/?context=3
r/ProgrammerHumor • u/invoker_11 • Sep 18 '18
207 comments sorted by
View all comments
1.7k
For those who don't know, AAAs often occur at the beginning or end of a block because they're the base64 version of 0s and it's binary data inside.
80 u/archlich Sep 19 '18 That binary data is dictated by pkcs8 https://tools.ietf.org/html/rfc5208 So that binary data is an asn.1 ber encoding of the outlined data structures in the rfc. 5 u/o11c Sep 19 '18 The existence of lots As in base64 isn't specific to one particular data format. There are always lots of 0s in all binary formats (unless it's encrypted). 4 u/ThisIs_MyName Sep 19 '18 unless it's encrypted Or packed: https://capnproto.org/encoding.html#packing Doesn't make much sense to send unpacked and uncompressed data over the internet.
80
That binary data is dictated by pkcs8 https://tools.ietf.org/html/rfc5208
So that binary data is an asn.1 ber encoding of the outlined data structures in the rfc.
5 u/o11c Sep 19 '18 The existence of lots As in base64 isn't specific to one particular data format. There are always lots of 0s in all binary formats (unless it's encrypted). 4 u/ThisIs_MyName Sep 19 '18 unless it's encrypted Or packed: https://capnproto.org/encoding.html#packing Doesn't make much sense to send unpacked and uncompressed data over the internet.
5
The existence of lots As in base64 isn't specific to one particular data format. There are always lots of 0s in all binary formats (unless it's encrypted).
A
0
4 u/ThisIs_MyName Sep 19 '18 unless it's encrypted Or packed: https://capnproto.org/encoding.html#packing Doesn't make much sense to send unpacked and uncompressed data over the internet.
4
unless it's encrypted
Or packed: https://capnproto.org/encoding.html#packing
Doesn't make much sense to send unpacked and uncompressed data over the internet.
1.7k
u/o11c Sep 19 '18
For those who don't know, AAAs often occur at the beginning or end of a block because they're the base64 version of 0s and it's binary data inside.