-
Notifications
You must be signed in to change notification settings - Fork 0
markmcdonald51/encryption
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Encryption == Introduction A simple and useful way to encrypt strings. Useful for encrypting strings in emails with urls links. Usage encrypted_string = Encryption.encrypt_aes('some string') string = Encryption.decrypt_aes(encrypted_string) Can also be used in object form e = Encryption.new cipher_text = e.encrypt_aes('some string to encrypt') e.decrypt_aes(cipher_text) I use configatron (available at github) to set the @@encryption_key however you could just as well add your own simple string here. I also considered making this key accessible via a writer, but decided against it as this could get confusing. Please let me know if you use this or find it useful! Thanks --mark == License MIT license. == Author Mark McDonald <[email protected]> July 4th, 2009
About
Easy aes encryption useful for encrypting strings to be used in urls or emails
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published