Logarithmic density of rank ≥ 1 and rank ≥ 2 genus-2 Jacobians and applications tohyperelliptic curve cryptography | Synapse