Skip to content

Instantly share code, notes, and snippets.

@zealot128
Last active December 10, 2015 21:18
Show Gist options
  • Select an option

  • Save zealot128/4493668 to your computer and use it in GitHub Desktop.

Select an option

Save zealot128/4493668 to your computer and use it in GitHub Desktop.
Solution for a job challenge by barzahlen.de
raise "UseNewerRubyCauseHazPermutations" if RUBY_VERSION < "1.9.3"
%w["d3Vv", "dG5h", "QGVt"].permutation.to_a.map(&:join).each do |middle|
puts Base64.decode64( "ZWQubmVsaGF6cmFi" + middle + "eQ==").reverse
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment