Skip to content

Instantly share code, notes, and snippets.

@jsrn
Created November 29, 2013 11:18
Show Gist options
  • Save jsrn/7704402 to your computer and use it in GitHub Desktop.
Save jsrn/7704402 to your computer and use it in GitHub Desktop.
My super secure crypto implementation
#!/usr/bin/env ruby
def print_block
puts "\e[H\e[2J"
chars = "ABCDEFGHIJKLMNOPQRSTUVQXYZabcdefghijklmnopqrstuvqxyz0123456789#"
chars = chars.split("")
(1..20).each do |y|
(1..60).each do |x|
print chars.sample
end
puts ""
end
sleep(1.0/10.0)
end
100.times do
print_block
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment