{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/411","labels_url":"https://api.github.com/repos/manastech/crystal/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/411/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/411/events","html_url":"https://github.com/manastech/crystal/pull/411","id":57450411,"number":411,"title":"Crypto::Blowfish","user":{"login":"akaufmann","id":288499,"avatar_url":"https://avatars.githubusercontent.com/u/288499?v=3","gravatar_id":"","url":"https://api.github.com/users/akaufmann","html_url":"https://github.com/akaufmann","followers_url":"https://api.github.com/users/akaufmann/followers","following_url":"https://api.github.com/users/akaufmann/following{/other_user}","gists_url":"https://api.github.com/users/akaufmann/gists{/gist_id}","starred_url":"https://api.github.com/users/akaufmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaufmann/subscriptions","organizations_url":"https://api.github.com/users/akaufmann/orgs","repos_url":"https://api.github.com/users/akaufmann/repos","events_url":"https://api.github.com/users/akaufmann/events{/privacy}","received_events_url":"https://api.github.com/users/akaufmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-12T11:49:36Z","updated_at":"2015-02-13T13:31:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/manastech/crystal/pulls/411","html_url":"https://github.com/manastech/crystal/pull/411","diff_url":"https://github.com/manastech/crystal/pull/411.diff","patch_url":"https://github.com/manastech/crystal/pull/411.patch"},"body":"Hi guys!\r\n\r\nI have implemented Crypto::Blowfish. It has not all features right now (encrypt / decrypt of blocks are missing).\r\nBut all features for Bcrypt are there (Blowfish#salted_expand_key). If you are interested in Bcrypt for the std crypto lib as well, let me know :-)\r\n\r\nI also modified Crypto::MD5 to have the same structure as Blowfish. Hope this is okay for you."},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/74253412","html_url":"https://github.com/manastech/crystal/pull/411#issuecomment-74253412","issue_url":"https://api.github.com/repos/manastech/crystal/issues/411","id":74253412,"user":{"login":"Exilor","id":5578107,"avatar_url":"https://avatars.githubusercontent.com/u/5578107?v=3","gravatar_id":"","url":"https://api.github.com/users/Exilor","html_url":"https://github.com/Exilor","followers_url":"https://api.github.com/users/Exilor/followers","following_url":"https://api.github.com/users/Exilor/following{/other_user}","gists_url":"https://api.github.com/users/Exilor/gists{/gist_id}","starred_url":"https://api.github.com/users/Exilor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exilor/subscriptions","organizations_url":"https://api.github.com/users/Exilor/orgs","repos_url":"https://api.github.com/users/Exilor/repos","events_url":"https://api.github.com/users/Exilor/events{/privacy}","received_events_url":"https://api.github.com/users/Exilor/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T13:31:38Z","updated_at":"2015-02-13T13:31:38Z","body":"@asterite \r\nWouldn't this be simpler than changing the compiler?\r\n```ruby\r\nstruct Number\r\n  def self.[](num, *nums)\r\n    array = Array(self).new(1 + nums.length) << cast(num)\r\n    nums.each { |n| array << cast(n) }\r\n    array\r\n  end\r\nend\r\n```\r\nand you could simply write ```Int64[1, 2, 3]```."}}