├── .github └── workflows │ └── spec.yml ├── .gitignore ├── .gitmodules ├── .rspec ├── .rubocop.yml ├── Dockerfile ├── Gemfile ├── LICENSE ├── Makefile ├── README.md ├── Rakefile ├── documentation ├── context.md ├── index.md ├── key_pair.md ├── private_key.md ├── public_key.md ├── recoverable_signature.md ├── releases │ ├── release-notes │ │ ├── release-notes-2.0.0.md │ │ ├── release-notes-3.0.0.md │ │ ├── release-notes-3.0.1.md │ │ ├── release-notes-4.0.0.md │ │ ├── release-notes-5.0.0.md │ │ ├── release-notes-5.0.1.md │ │ ├── release-notes-5.1.0.md │ │ ├── release-notes-5.1.1.md │ │ └── release-notes-6.0.0.md │ └── release-process.md ├── schnorr_signature.md ├── secp256k1.md ├── shared_secret.md ├── signature.md ├── util.md └── xonly_public_key.md ├── examples ├── README.md └── ethereum_key_recovery │ ├── .ruby-version │ ├── Gemfile │ ├── README.md │ └── key_recovery.rb ├── ext └── rbsecp256k1 │ ├── extconf.rb │ └── rbsecp256k1.c ├── lib ├── rbsecp256k1.rb └── rbsecp256k1 │ ├── context.rb │ ├── util.rb │ └── version.rb ├── rbsecp256k1.gemspec └── spec ├── fuzzing └── serialization_fuzzing_spec.rb ├── helpers └── ecdsa_helpers.rb ├── spec_helper.rb └── unit ├── rbsecp256k1 ├── context_spec.rb ├── private_key_spec.rb ├── public_key_spec.rb ├── recoverable_signature_spec.rb ├── schnorr_signature_spec.rb ├── signature_spec.rb ├── util_spec.rb └── xonly_public_key_spec.rb └── secp256k1_spec.rb /.github/workflows/spec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/.github/workflows/spec.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/Dockerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/Rakefile -------------------------------------------------------------------------------- /documentation/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/context.md -------------------------------------------------------------------------------- /documentation/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/index.md -------------------------------------------------------------------------------- /documentation/key_pair.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/key_pair.md -------------------------------------------------------------------------------- /documentation/private_key.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/private_key.md -------------------------------------------------------------------------------- /documentation/public_key.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/public_key.md -------------------------------------------------------------------------------- /documentation/recoverable_signature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/recoverable_signature.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-2.0.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-2.0.0.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-3.0.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-3.0.0.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-3.0.1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-3.0.1.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-4.0.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-4.0.0.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-5.0.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-5.0.0.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-5.0.1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-5.0.1.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-5.1.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-5.1.0.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-5.1.1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-5.1.1.md -------------------------------------------------------------------------------- /documentation/releases/release-notes/release-notes-6.0.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-notes/release-notes-6.0.0.md -------------------------------------------------------------------------------- /documentation/releases/release-process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/releases/release-process.md -------------------------------------------------------------------------------- /documentation/schnorr_signature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/schnorr_signature.md -------------------------------------------------------------------------------- /documentation/secp256k1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/secp256k1.md -------------------------------------------------------------------------------- /documentation/shared_secret.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/shared_secret.md -------------------------------------------------------------------------------- /documentation/signature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/signature.md -------------------------------------------------------------------------------- /documentation/util.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/util.md -------------------------------------------------------------------------------- /documentation/xonly_public_key.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/documentation/xonly_public_key.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/ethereum_key_recovery/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.5.3 -------------------------------------------------------------------------------- /examples/ethereum_key_recovery/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/examples/ethereum_key_recovery/Gemfile -------------------------------------------------------------------------------- /examples/ethereum_key_recovery/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/examples/ethereum_key_recovery/README.md -------------------------------------------------------------------------------- /examples/ethereum_key_recovery/key_recovery.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/examples/ethereum_key_recovery/key_recovery.rb -------------------------------------------------------------------------------- /ext/rbsecp256k1/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/ext/rbsecp256k1/extconf.rb -------------------------------------------------------------------------------- /ext/rbsecp256k1/rbsecp256k1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/ext/rbsecp256k1/rbsecp256k1.c -------------------------------------------------------------------------------- /lib/rbsecp256k1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/lib/rbsecp256k1.rb -------------------------------------------------------------------------------- /lib/rbsecp256k1/context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/lib/rbsecp256k1/context.rb -------------------------------------------------------------------------------- /lib/rbsecp256k1/util.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/lib/rbsecp256k1/util.rb -------------------------------------------------------------------------------- /lib/rbsecp256k1/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Secp256k1 4 | VERSION = '6.0.0' 5 | end 6 | -------------------------------------------------------------------------------- /rbsecp256k1.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/rbsecp256k1.gemspec -------------------------------------------------------------------------------- /spec/fuzzing/serialization_fuzzing_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/fuzzing/serialization_fuzzing_spec.rb -------------------------------------------------------------------------------- /spec/helpers/ecdsa_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/helpers/ecdsa_helpers.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/context_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/context_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/private_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/private_key_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/public_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/public_key_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/recoverable_signature_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/recoverable_signature_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/schnorr_signature_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/schnorr_signature_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/signature_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/signature_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/util_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/util_spec.rb -------------------------------------------------------------------------------- /spec/unit/rbsecp256k1/xonly_public_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/rbsecp256k1/xonly_public_key_spec.rb -------------------------------------------------------------------------------- /spec/unit/secp256k1_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etscrivner/rbsecp256k1/HEAD/spec/unit/secp256k1_spec.rb --------------------------------------------------------------------------------