Skip to content

Instantly share code, notes, and snippets.

View robertodecurnex's full-sized avatar

Roberto Decurnex robertodecurnex

View GitHub Profile
@robertodecurnex
robertodecurnex / ramdomart.c
Created October 22, 2014 20:20
Randomart generation (from the openssh-client)
/*
* Draw an ASCII-Art representing the fingerprint so human brain can
* profit from its built-in pattern recognition ability.
* This technique is called "random art" and can be found in some
* scientific publications like this original paper:
*
* "Hash Visualization: a New Technique to improve Real-World Security",
* Perrig A. and Song D., 1999, International Workshop on Cryptographic
* Techniques and E-Commerce (CrypTEC '99)
* sparrow.ece.cmu.edu/~adrian/projects/validation/validation.pdf
@robertodecurnex
robertodecurnex / input.rb
Created September 19, 2014 19:16
CS Example
class Say
def hello to='Minion'
#sc say_hello(to)
end
end
puts Say.new.hello
__END__
sc say_hello String: String