{"id":16793588,"url":"https://github.com/mdp/gibberish-aes-ruby","last_synced_at":"2025-10-14T17:48:56.883Z","repository":{"id":426762,"uuid":"46887","full_name":"mdp/gibberish-aes-ruby","owner":"mdp","description":"A fork of Alex Boussinet's Ruby AES library modified to support OpenSSL AES","archived":false,"fork":false,"pushed_at":"2008-09-01T00:20:13.000Z","size":576,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T02:23:52.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://webchicanery.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdp.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-08-28T03:16:52.000Z","updated_at":"2019-08-13T13:33:18.000Z","dependencies_parsed_at":"2022-08-06T09:15:14.778Z","dependency_job_id":null,"html_url":"https://github.com/mdp/gibberish-aes-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdp/gibberish-aes-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgibberish-aes-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgibberish-aes-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgibberish-aes-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgibberish-aes-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdp","download_url":"https://codeload.github.com/mdp/gibberish-aes-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fgibberish-aes-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020048,"owners_count":26086807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T08:49:42.643Z","updated_at":"2025-10-14T17:48:56.841Z","avatar_url":"https://github.com/mdp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## gibberish-aes-ruby\n\n---\n\nWritten by Alex Boussinet \u003cmailto:alex.boussinet@gmail.com\u003e  \nModified by Mark Percival \u003cmailto:mark@mpercival.com\u003e\n\nThis ruby gem is simply a modification of Alex Boussinet's Ruby-AES(normal implemenation)\nwhich can be found at \u003chttp://raa.ruby-lang.org/project/ruby-aes/\u003e\n\nI've fixed 2 issues to make it compatible with OpenSSL:\n\n- Correctly padding the blocks\n- Generating a key and IV from a password and random salt\n\n# \n    require 'rubygems'\n    require 'ruby-aes'\n    require 'base64'\n\n    enc = Aes.openssl_encrypt(\"pass\", \"test\", :salt =\u003e \"1831BD4EC8E35CC8\", :size =\u003e 256, :mode =\u003e 'CBC')\n    p Base64.b64encode(enc[:salted])\n    dec = Aes.openssl_decrypt(\"pass\", enc[:salted])\n    p dec\n\n\nValid modes are:\n\n- ECB (Electronic Code Book)\n- CBC (Cipher Block Chaining)\n- OFB (Output Feedback)\n- CFB (Cipher Feedback)\n\nValid key length:\n\n- 128 bits\n- 192 bits\n- 256 bits\n\nFor a really good encryption, 256 bits CBC is recommanded.\n\nFor more information on AES-Rijndael, see: \u003chttp://csrc.nist.gov/encryption/aes/rijndael/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fgibberish-aes-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdp%2Fgibberish-aes-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fgibberish-aes-ruby/lists"}