secp256k1.cr icon indicating copy to clipboard operation
secp256k1.cr copied to clipboard

a native library implementing secp256k1 purely for the crystal language.

Results 4 secp256k1.cr issues
Sort by recently updated
recently updated
newest added

ref: https://crypto.stackexchange.com/questions/45040/can-elliptic-curve-cryptography-encrypt-with-public-key-and-decrypt-with-private

ref: https://tls.mbed.org/kb/cryptography/asn1-key-structures-in-der-and-pem

- It’s easier and more correct to implement secp256k1’s prime field - Then you don’t have to worry about doing the operations modulo the order - You just perform them...

the ec modular inverse is not constant time, which can be very problematic for security (assumption)