The double-base number system in elliptic curve cryptography