EC Key generation with Specific Curves
openssl ecparam -genkey -name brainpoolP512r1 -noout -out private.pem
EC Public Key Generation
openssl ec -in private.pem -pubout -out public.pem
Sign Verify:
openssl dgst -sha1 -sign private.pem test > signature.bin
openssl dgst -sha1 -verify public.pem -signature signature.bin test
No comments:
Post a Comment