Skip to content

chrisliaw/gcrypt

Repository files navigation

Gcrypt

It was meant to expose the GPG libgcrypt to Ruby user.

Unfortunately due to time constraint the struct gcry_cipher_handle of cipher_internal.h is too daunting.

The many struct/union inside it make it too time comsuning to duplicate into Ruby world.

One day maybe will continue finish this project.

Was compile and tested on LinuxMint 20.2 x86_64 (Kernel 5.4.0-80-generic), Ruby 3.0.2

Not ready for any operations except random number generator.

Initial Motive

With compare to default OpenSSL engine:

  • Smaller binary code base
  • Support Twofish block cipher
  • Support Salsa20 stream cipher
  • Support PC/SC

Installation

Add this line to your application's Gemfile:

gem 'gcrypt'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install gcrypt

Contributing

Anyone welcome to fork!

License

The gem is available as open source under the terms of the MIT License.

About

Ruby binding to libgcrypt of PGP

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published