Question: C: OpenSSL ECC C.1 First we need to generate a private key with: openssl ecparam-name secp256k1-genkey-out priv.pem The file will only contain the private key
C: OpenSSL ECC C.1 First we need to generate a private key with: openssl ecparam-name secp256k1-genkey-out priv.pem The file will only contain the private key (and should have 256 bits). Now use "cat priv.pem" to view your key. Can you view your key? C.2 We can view the details of the ECC parameters used with: openssl ecparam -in priv.pem - text - param_enc explicit -noout Outline these values: Prime (last two bytes): A: B: Generator (last two bytes): Order (last two bytes): C.3 Now generate your public key based on your private key with: openssl ec-in priv.pem-text- noout How many bits and bytes does your private key have: How many bit and bytes does your public key have (Note the 04 is not part of the elliptic curve point): What is the ECC method that you have used? C: OpenSSL ECC C.1 First we need to generate a private key with: openssl ecparam-name secp256k1-genkey-out priv.pem The file will only contain the private key (and should have 256 bits). Now use "cat priv.pem" to view your key. Can you view your key? C.2 We can view the details of the ECC parameters used with: openssl ecparam -in priv.pem - text - param_enc explicit -noout Outline these values: Prime (last two bytes): A: B: Generator (last two bytes): Order (last two bytes): C.3 Now generate your public key based on your private key with: openssl ec-in priv.pem-text- noout How many bits and bytes does your private key have: How many bit and bytes does your public key have (Note the 04 is not part of the elliptic curve point): What is the ECC method that you have used
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
