Ecdsa

In cryptography, the Elliptic Curve Digital Signature Algorithm offers a variant of the Digital Signature Algorithm which uses elliptic curve cryptography.

Rsa

RSA is a common public key algorithm, which can be used for encryption and signature

Lowest nist bigger

Example |
---|

"Rsa is using bigger keys than ecdsa from question Different key generation algorithms used in different blockchains |

"So the lowest commonly supported ecdsa keysize keys based on nist p-256 secp256r1 gets 128 bits of security which nist rates as good for 2031+;rsa from question Get SHA1 sign of string with DSA private key from PEM file |

Others

Example |
---|

For rsa as implemented in the modern era since about 1980 signing is much slower than verifying;for dsa and ecdsa from question What exactly does signer.verify(signerInformationVerifier) verify? |

It s from question What is wrong with the DSACryptoServiceProvider? |

If you re interesting in reducing the size of the resulting cookies you should consider using ecdsa rather than rsa to produce the signatures - ecdsa signatures are considerably from question Can one encrypt with a private key/decrypt with a public key? |

One reason for that is because ecdsa signatures are much smaller than rsa from question Why can't I use RSA OAEP padding when encrypting with a private key? |

Ecdsa is from question Java REST-Service with Digital Signing |

Key pair using rsa or ecdsa from question For user verification, you do need to store data on server side even when using JWT correct? |

Rsa is from question Understanding RSA signing for JWT |