šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

cf-ruby-libecp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-ruby-libecp

0.2.2
Rubygems
Version published
Maintainers
1
Created
Source

Ruby LibECP

Ruby LibECP is a wrapper around LibECP, an elliptic-curve cryptography library for producing and verifying ECDSA signatures.

Installation

Use the gem in a project managed with Bundler adding it into Gemfile:

gem "cf-ruby-libecp"

Build

This gem is a native extension gem. The native library will be compiled on your platform automatically at install time.

The required packages to build the gem are:

  • GMP, a multiprecision arithmetic library.
  • GCC, a compiler for C, C++, Java, Fortan and other program code that can be used in Unix.

Debian-based distributions

$ sudo apt-get install libgmp3-dev build-essential

OS X with Homebrew

$ brew tap homebrew/versions
$ brew install gmp4
$ CPPFLAGS=-I/usr/local/opt/gmp4/include LDFLAGS=-L/usr/local/opt/gmp4/lib gem install cf-ruby-libecp

OS X with MacPorts

$ sudo port install gmp

Usage example

require "libecp"

LibEcp.private_key(LibEcp.gen_uid(1234), "coinfloor")

Licence

Released under the Apache License Version 2.0.

FAQs

Package last updated on 23 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts