.. efun:: string crypt(string str, int seed)
  string crypt(string str, string seed)

  Crypt the string :arg:`str` the first two characters from the string :arg:`seed` as a seed. If :arg:`seed` is an integer, then a random seed is used.

  The result has the first two characters as the seed.

  If you want to let users enter password information without echo, :efun:`input_to` can be used with the :macro:`INPUT_NOECHO` flag.

  .. seealso:: :efun:`md5`, :efun:`md5_crypt`, :efun:`sha1`, :efun:`hash`, :efun:`hmac`