Skip to content

Convert words and phrases to binary or hexadecimal. Convert them back. Fun for the whole family.

Notifications You must be signed in to change notification settings

tekniklr/base_ascii_conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Convert words and phrases to binary or hexadecimal. Convert them back. Fun 
for the whole family.

Usage: binary.pl [--help|-h|-?] [--binary|-b <binary>] | [[--spaces|-s] --ascii|-a <ascii>]
Usage: hex.pl [--help|-?] [--hex|-h <hex>] | [[--spaces|-s] --ascii|-a <ascii>]

Usage explained:
  * provide one of text or binary/hex, get the other back
  * if you are getting back binary or hex, add or remove an -s to control 
    whether spaces appear every 8th or 2nd character. The default for 
    binary is to not show spaces, and for hex it is to show them.
    
Examples:
  $ binary.pl -a "This is nifty keen" -s
  01010100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01101110 01101001 01100110 01110100 01111001 00100000 01101011 01100101 01100101 01101110
  
  $ hex.pl -a "The things that wind up on github."
  54 68 65 20 74 68 69 6e 67 73 20 74 68 61 74 20 77 69 6e 64 20 75 70 20 6f 6e 20 67 69 74 68 75 62 2e
  

About

Convert words and phrases to binary or hexadecimal. Convert them back. Fun for the whole family.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages