closes #66 switched elliptic_curve mod to SHA-2