
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
reversible_cryptography
Advanced tools
Easy-to-use reversible encryption solutions.
Add this line to your application's Gemfile:
gem 'reversible_cryptography'
And then execute:
$ bundle
Or install it yourself as:
$ gem install reversible_cryptography
encrypted_message = ReversibleCryptography::Message.encrypt("target_message", "password")
# => "md5:388eeae24576572f946e9043a2118b2d:salt:161-225-182-109-143-90-1-28:aes-256-cfb:DHY6DF3+iFzH36FMbeI="
ReversibleCryptography::Message.decrypt(encrypted_message, "password") == "target_message"
# => true
Add reversible_cryptography
command
$ reversible_cryptography
Commands:
reversible_cryptography decrypt [TEXT] # Decrypt text or file
reversible_cryptography edit FILE # Edit encrypted file
reversible_cryptography encrypt [TEXT] # Encrypt text or file
reversible_cryptography help [COMMAND] # Describe available commands or one specific command
$ reversible_cryptography encrypt message
Input password:
md5:78e731027d8fd50ed642340b7c9a63b3:salt:252-235-72-88-180-7-195-229:aes-256-cfb:VH2JxqUU9Q==
cat original.txt
this is secret!
reversible_cryptography encrypt --password=pass --src-file=original.txt --dst-file=encrypted.txt
cat encrypted.txt
md5:f5b013aca1b774be3d3b5f09f76e6cc8:salt:228-129-190-248-134-146-102-97:aes-256-cfb:u+lhtAdW6Re8br0qePqzig==
reversible_cryptography decrypt md5:78e731027d8fd50ed642340b7c9a63b3:salt:252-235-72-88-180-7-195-229:aes-256-cfb:VH2JxqUU9Q==
Input password:
message
cat encrypted.txt
md5:f5b013aca1b774be3d3b5f09f76e6cc8:salt:228-129-190-248-134-146-102-97:aes-256-cfb:u+lhtAdW6Re8br0qePqzig==
reversible_cryptography decrypt --password=pass --src-file=encrypted.txt --dst-file=decrypted.txt
cat decrypted.txt
this is secret!
cat encrypted.txt
md5:f5b013aca1b774be3d3b5f09f76e6cc8:salt:228-129-190-248-134-146-102-97:aes-256-cfb:u+lhtAdW6Re8br0qePqzig==
reversible_cryptography edit encrypted.txt --password=pass --editor=vim
# modify encrypted.txt
After checking out the repo, run bin/setup
to install dependencies. Then, run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
to create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that reversible_cryptography demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.