ECC package based on JSBN