Topic: public and private keys of size less than 72 bytes

I have the PFX file that currently generates the Digital signature, private key and public key. However, the generated RSA keys from the PFX files are 256 bytes in length.

I want to have the public and private keys of less than 72 bytes in size.

Is there any option that i can generate the keys(less than 72 bytes) using the PFX file. if this is not possible, please provide any alternate ways to achieve this objective.

is there a way to generate keys from PFX file using ECC instead of RSA?

Share

Re: public and private keys of size less than 72 bytes

Hi akimoorthy,

Yes, you will definitely need ECC to achieve this size.  You will want to use 256-bit ECC to generate a public key less than 72 bytes in size.  Note that while the key itself will be smaller than 72 bytes, you are using a PFX file (PKCS#12) which will add some overhead.  For minimal size, consider using a DER file, which will only contain the key itself.

Here is a full example of how to generate an ECC keypair and export it to .der files: https://github.com/wolfSSL/wolfssl-exam … y-export.c

Share

Re: public and private keys of size less than 72 bytes

Key sizes below 72 bytes can be relevant in certain cryptographic applications, depending on the algorithm and security requirements. It's important to understand the difference between public and private keys and how their lengths affect security. I usually prefer checking technical explanations and user experiences before drawing conclusions, much like reading discussions around By Pass My Exam Reviews before forming an opinion about an online platform.

Share