Skip to content

Instantly share code, notes, and snippets.

@stringsn88keys
Created November 28, 2022 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stringsn88keys/f7d38e61ea416dbbef67b1fc2707050a to your computer and use it in GitHub Desktop.
Save stringsn88keys/f7d38e61ea416dbbef67b1fc2707050a to your computer and use it in GitHub Desktop.
Test generate_key
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