https://github.com/chrisliaw/gcrypt
Ruby binding to libgcrypt of PGP
https://github.com/chrisliaw/gcrypt
libgcrypt ruby rubygems
Last synced: 18 days ago
JSON representation
Ruby binding to libgcrypt of PGP
- Host: GitHub
- URL: https://github.com/chrisliaw/gcrypt
- Owner: chrisliaw
- License: mit
- Created: 2021-08-07T07:38:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T07:45:37.000Z (almost 5 years ago)
- Last Synced: 2025-02-26T21:14:56.414Z (over 1 year ago)
- Topics: libgcrypt, ruby, rubygems
- Language: Ruby
- Homepage:
- Size: 1.68 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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:
```ruby
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](https://opensource.org/licenses/MIT).