Simple encryption service

Log in to Vote
9
9 Votes • 4 Comments
e.g.

encrypt <key> <text>

return: <encrypted text>

decrypt <key> <decrypted text>

return: <text>
• posted 4 years and 3 months ago • type: Goodie (Perl functions) Under Review

anonymous
Maybe this would be useful for a Goodie:

Symmetric Cryptography in Perl
posted by <hidden> • 4 years and 3 months ago Link
anonymous
Thanks! I'll implement this if no one else has already started.
posted by <hidden> • 4 years and 3 months ago Link
Moollaza
A Pull Request has been made and is under review: https://github.com/duckduckgo/zeroclicki...
posted by Moollaza Staff3 years and 10 months ago Link
anonymous
Hello,

I've just submitted a little goodie for this

https://github.com/diegojuan/zeroclickin...

Thread was stalled for more than 4 months, well, I just wrote one for that :)


package DDG::Goodie::SimpleEncryptionService::Crypto;
# ABSTRACT: This goddie provides a simple encription/decryption service
# using RC4 algorithm and a key provided by the user.
# Usage: crypto encrypt key text
# crypto decrypt key text
# or the short form
# crypto en key text
# crypto de key text
#
# This implementation uses the RC$ algorithm described here
# http://en.wikipedia.org/wiki/RC4
#
# Requires cpan install MIME::Base64



Hope you enjoy it :)


Best regards



JD
posted by <hidden> • 3 years and 10 months ago Link