Attention: this version is yet not fully functional.
TTCrypt is a fast basic cryptography library written in C++ that implements only string encoded RSA variants and othe cryptoprimitives widely used in Thrift projects, namely:
- RSAES-OAEP encryption
- RSASS-PSS signing
- Pollard 'rho' factorization
- Fast orime generation
- SHA1 and SHA256 hashes (under development)
- RJ256/256 (under development)
All long operation are being preformed releasing GVL so other ruby threads can execute while ttcrypt thinks.
Current implementation targeted fro MRI ruby 2.0+.
To install your computer should have GMP library installed. Use your target system's packet manager (apt, brew, whatever you have) or get it there: https://gmplib.org
Then, add this line to your application's Gemfile:
gem 'ttcrypt'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ttcrypt
So far you can use rdoc.
TODO: Write usage instructions here
- Fork it ( https://github.com/[my-github-username]/ttcrypt/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request