Improved docs

This commit is contained in:
Matej Baco
2022-06-17 11:25:28 +02:00
parent 11909a25cb
commit 62ec121a5e
21 changed files with 70 additions and 28 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Appwrite\Auth\Hash;
use Appwrite\Auth\Hash;
/*
* BCrypt accepted options:
* Bcrypt accepted options:
* int cost
* string? salt; auto-generated if empty
*
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Appwrite\Auth\Hash;
use Appwrite\Auth\Hash;
/*
* SCrypt accepted options:
* Scrypt accepted options:
* string? salt; auto-generated if empty
* int costCpu
* int costMemory
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Appwrite\Auth\Hash;
use Appwrite\Auth\Hash;
/*
* This is SCrypt hash with some additional steps added by Google.
* This is Scrypt hash with some additional steps added by Google.
*
* string salt
* string saltSeparator
@@ -9,7 +9,7 @@ class AlgoArgon2 extends Model
{
public function __construct()
{
// No options if imported. If hashed by Appwrite, followign configuration is available:
// No options if imported. If hashed by Appwrite, following configuration is available:
$this
->addRule('memoryCost', [
'type' => self::TYPE_INTEGER,
@@ -44,7 +44,7 @@ class AlgoScrypt extends Model
*/
public function getName(): string
{
return 'AlgoSCrypt';
return 'AlgoScrypt';
}
/**
@@ -38,7 +38,7 @@ class AlgoScryptModified extends Model
*/
public function getName(): string
{
return 'AlgoSCryptModified';
return 'AlgoScryptModified';
}
/**