feat: remove test_unsafe

This commit is contained in:
Jussi 2024-11-09 15:23:09 +02:00
parent abb3eab559
commit d2839286ce
7 changed files with 8 additions and 29 deletions

View file

@ -6,7 +6,7 @@ Fast and secure Argon2 password hashing library for Elixir.
- Uses the pure Rust implementation of Argon2
- Only Argon2i implementation (version 0x13) at the moment
- Built-in security presets (OWASP, Strong, Test/Unsafe)
- Built-in security presets (OWASP, Strong)
## Installation
@ -56,9 +56,6 @@ hash = Argon2.hash_password("secure_password123")
# Strong - Higher security for sensitive applications
hash = Argon2.hash_password("secure_password123", "strong")
# Test - Fast but unsafe, only for testing purposes
hash = Argon2.hash_password("secure_password123", "test_unsafe")
```
Preset specifications:
@ -86,11 +83,6 @@ STRONG:
Hash time: 145ms
Verify time: 139ms
Memory: 65MB
TEST_UNSAFE:
Hash time: 1ms
Verify time: 1ms
Memory: 1MB
```
## Development