public function storeKey($name, $password)
    {
        if (strlen($name) === 0) {
            throw new SecurityException('Required name argument was empty', 1334215443);
        }
        if (strlen($password) === 0) {
            throw new SecurityException('Required password argument was empty', 1334215349);
        }
        $this->persistKey($name, $password);
    }
public function storeKey($name, $password)
    {
        if (strlen($name) === 0) {
            throw new SecurityException('Required name argument was empty', 1334215443);
        }
        if (strlen($password) === 0) {
            throw new SecurityException('Required password argument was empty', 1334215349);
        }
        $this->persistKey($name, $password);
    }
public function storeKey ( $ name , $ password ) { if ( strlen ( $ name ) === 0 ) { throw new SecurityException ( 'Required name argument was empty' , 1334215443 ) ; } if ( strlen ( $ password ) === 0 ) { throw new SecurityException ( 'Required password argument was empty' , 1334215349 ) ; } $ this -> persistKey ( $ name , $ password ) ; }
Saves a key encrypted with a hashing strategy

@param string $name
@param string $password
@return void
@throws SecurityException
Saves a key encrypted with a hashing strategy