You are here
Error message
- Deprecated function: Return type of DatabaseStatementBase::execute($args = [], $options = []) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2244 of /www/drupal/drupal-7.81/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /www/drupal/drupal-7.81/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /www/drupal/drupal-7.81/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /www/drupal/drupal-7.81/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /www/drupal/drupal-7.81/includes/database/database.inc).
- Deprecated function: Return type of DatabaseStatementEmpty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /www/drupal/drupal-7.81/includes/database/database.inc).
- Deprecated function: Return type of DatabaseCondition::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 1652 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property MergeQuery::$condition is deprecated in MergeQuery->__construct() (line 1344 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property MergeQuery::$condition is deprecated in MergeQuery->__construct() (line 1344 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in drupal_random_bytes() (line 2268 of /www/drupal/drupal-7.81/includes/bootstrap.inc).
- Deprecated function: Creation of dynamic property MergeQuery::$condition is deprecated in MergeQuery->__construct() (line 1344 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Return type of DateObject::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /www/drupal/drupal-7.81/sites/all/modules/date/date_api/date_api.module).
- Deprecated function: Return type of DateObject::format($format, $force = false) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /www/drupal/drupal-7.81/sites/all/modules/date/date_api/date_api.module).
- Deprecated function: Return type of DateObject::setTimezone($tz, $force = false) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /www/drupal/drupal-7.81/sites/all/modules/date/date_api/date_api.module).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in url() (line 2349 of /www/drupal/drupal-7.81/includes/common.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in url_is_external() (line 2393 of /www/drupal/drupal-7.81/includes/common.inc).
- Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in url_is_external() (line 2395 of /www/drupal/drupal-7.81/includes/common.inc).
- Deprecated function: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in url() (line 2311 of /www/drupal/drupal-7.81/includes/common.inc).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property SelectQuery::$alterTags is deprecated in SelectQuery->addTag() (line 978 of /www/drupal/drupal-7.81/includes/database/select.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
- Deprecated function: Creation of dynamic property DatabaseCondition::$stringVersion is deprecated in DatabaseCondition->compile() (line 1865 of /www/drupal/drupal-7.81/includes/database/query.inc).
Password Generation
Online security advocates state that to be stong, your passwords should follow the following guidelines
- Unique - everyone should be different to everyone else, so if a server is compromised the only password lost is the one on that server
- Random - the password should not be based on things found in the dictionary (or names)
- Characters - a scattering of uppercase, lowercase, numbers and special characters
- Memorable - you shouldn't write it down
It is very difficult to make a password that fits these specifications, with the necessity of all these websites needing authentication, you find yourself needing to remember between 4 and 7 random sequences of letters and numbers just to function in life. Needless to say, the first and second rules are most often broken in the quest to maintain rule 4. I know I do it.
The attached applications solve this issue on two levels. They take your "master" password and some site identifier and creates a SHA1 hash, the first 8 bytes of the hash are then base64 encoded to produce the final password. This password fulfills the first 3 rules to strong passwords, even if the master password does not (it no longer has to) and because you can always regenerate the password as needed, you can see that it resolves rule 4 too.
The added bonus to using these applications is that you also hide your "secret" (the master password), in that you never transmit the master password to any website, ever!
The idea for this application is not mine, it came from Nic Wolff, he can be googled or his site can be found here. Please note that his generator and mine are not compatible.
I have included below the code that is tied to the appropriate button click for your security. This application should NEVER try to access your disk, or the internet as it saves nothing, and most importantly doesn't transmit anything.
private void button1_Click(object sender, EventArgs e)
{
if (txtMaster.Text != "")
{
SHA1 sha1 = new SHA1CryptoServiceProvider();
byte[] arrSha1 = sha1.ComputeHash(Encoding.ASCII.GetBytes(txtMaster.Text + ":" + txtSite.Text));
string strPassword = System.Convert.ToBase64String(arrSha1,0,8);
txtPassword.Text = strPassword;
Clipboard.SetText(strPassword);
clearTimer.Start();
}
}
private void clearTimer_Tick(object sender, EventArgs e)
{
clearTimer.Stop();
txtMaster.Text = "";
txtPassword.Text = "";
}
| Attachment | Size |
|---|---|
| 332.5 KB |