Class StringTwister

Description

String twister is set of functions that modify string based on twister so they are harder to guess

  • version: 1.0

Located in /environment/classes/StringTwister.class.php (line 9)


	
			
Method Summary
static integer getTwister (void 0)
static string twist (string $untwisted_string, string $twister)
static string twistHash (string $untwisted_hash, string $twister)
static string untwist (string $twisted_string, string $twister)
static string untwistHash (string $twisted_hash, string $twister)
Methods
static method getTwister (line 17)

Return twister ID, 10 digits integer that is user for twisting the string

static integer getTwister (void 0)
  • void 0
static method twist (line 32)

Twist $untwisted_string with $twister

static string twist (string $untwisted_string, string $twister)
  • string $untwisted_string
  • string $twister
static method twistHash (line 70)

Twist sha1() hash

static string twistHash (string $untwisted_hash, string $twister)
  • string $untwisted_hash
  • string $twister
static method untwist (line 51)

Untwist $twisted_string string based on $twister

static string untwist (string $twisted_string, string $twister)
  • string $twisted_string
  • string $twister
static method untwistHash (line 86)

Untwist $twisted_hash based on $twister

static string untwistHash (string $twisted_hash, string $twister)
  • string $twisted_hash
  • string $twister

Documentation generated on Wed, 23 Jan 2008 01:59:29 +0000 by phpDocumentor 1.4.0