Created
July 15, 2014 12:13
-
-
Save schaary/fe162fa794eafe63d41e to your computer and use it in GitHub Desktop.
sha1 hin und wieder zurück
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Quelle: http://anthonylewis.com/2011/02/09/to-hex-and-back-with-ruby/ | |
| Base64.decode64('ZNgCF5auf9KN/PzwpUaxKyvLAtU=').each_byte.map{ |b| b.to_s(16) }.join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment