Last active
December 29, 2016 21:07
-
-
Save kv109/644505709d8027193be33caedff70f24 to your computer and use it in GitHub Desktop.
aes7
This file contains 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
'9'.hex #=> 9 | |
'a'.hex #=> 10 | |
'10'.hex #=> 16 | |
'ff'.hex #=> 255 | |
# zero is returned on error: | |
'foobar'.hex #=> 0 | |
'zz'.hex #=> 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment