Created
November 28, 2022 21:57
-
-
Save stringsn88keys/f7d38e61ea416dbbef67b1fc2707050a to your computer and use it in GitHub Desktop.
Test generate_key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'openssl' | |
curve='prime256v1' | |
p ::OpenSSL::PKey::EC.new(curve).generate_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment