ecies/js

Can I somehow reduce the output size?

mkokaras opened this issue · 1 comments

Is there a way to reduce the size of the encrypted message?

The first 65 bytes are public key, which can be reduced to half. Other are encrypted payload, which cannot be compressed or reduced.

In conclusion, you may split the public key and compress it, then you save 33 bytes per encryption.