mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Improved docs
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user