1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need a cool function with this domain:

  1. Apr 21, 2013 #1
    So I made a program that, so far, converts a password to a string of the binary representation of its successive ASII characters. Here's some output for an example:

    "gs0dpsrln2" --------> 01100111011100110011000001100100011100000111001101110010011011000110111000110010
    "8zoxdsjt9y" --------> 00111000011110100110111101111000011001000111001101101010011101000011100101111001
    "yok9hn9df0" --------> 01111001011011110110101100111001011010000110111000111001011001000110011000110000
    "tg5kc1ujyl" --------> 01110100011001110011010101101011011000110011000101110101011010100111100101101100
    "ucyljs" --------> 011101010110001101111001011011000110101001110011
    "h7kl9f3odi" --------> 011010000011011101101011011011000011100101100110001100110110111101100100011010010
    "dtgrv 3d7c" --------> 011001000111010001100111011100100111011000100000001100110110010000110111011000110
    "ghp0" --------> 01100111011010000111000000110000
    "dsw 0qukgk" --------> 011001000111001101110111001000000011000001110001011101010110101101100111011010110
    "qh3zz0j1vk" --------> 011100010110100000110011011110100111101000110000011010100011000101110110011010110

    Now I want something mathematical to do with these strings of 0's and 1's.
  2. jcsd
  3. Apr 21, 2013 #2
    I've got a cool function!

    ##f: \mathbb{R}\rightarrow\mathbb{R} \\ f(x) = 0##

    It's a function that equals its derivative at every single point. It must be cool!
    Specify what you want, please. :tongue:
  4. Apr 22, 2013 #3
    Same is true of e^x and I'd say it's a lot more interesting than that. :)
  5. Apr 22, 2013 #4


    User Avatar
    Gold Member

    Look at cryptographically-secure hash functions.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook