You can do a lot more with Metamask or exchange transfers, but do you know how it works?
In the cryptocurrency community, the asymmetric encryption algorithms of RSA and ECDSA are widely used, and ECDSA is more efficient than RSA due to its shorter key lengths, and also because of ECDSA's security foundation, which is often referred to as "irreversible and tamper-proof".
Yes, Bitcoin and Ether are both using ECDSA, and as a cryptocurrency investor, do you think this knowledge will help you make better investment decisions?
Asymmetric Encryption - Commonly Used Techniques in the Coin Ring
One can encrypt with public key and then decrypt with private key or encrypt with private key and then decrypt with public key. Everyone who generates an address array will get one public key and one private key, usually the public key will be released to the other party and the private key will be held by oneself to prove oneself as the public key holder.
ECDSA Signature Algorithm - Tamper Evident?
Input: A message, a private key with the same random number, you can get a string of numbers as output value, i.e. co-signature.
Output: Another formula can be used to reverse the calculation and verify that the private key and the random number are not known.
Trapdoor Function
It means that the value of k cannot be obtained during the reverse computation process, which means that the private key cannot be deduced from the encrypted data and public key. There is no reverse operation such as subtraction or division at the beginning of the algorithm, so this feature is called a one-way trap function, which is also the basis of the security behind the ECDSA algorithm.
So much for tamperability.