From 0fc9b5a0c5982988eeebf79c10d16e6b809dd982 Mon Sep 17 00:00:00 2001 From: blek Date: Wed, 3 Jan 2024 14:22:55 +1000 Subject: [PATCH] clarify what argon2 is --- SPEC.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index bb26713..fbe44df 100644 --- a/SPEC.md +++ b/SPEC.md @@ -17,6 +17,7 @@ This document also uses the following terminology: | base64 | The base64 data encoding format, which is described in [RFC4648](https://www.rfc-editor.org/rfc/rfc4648) | | MIME type | The MIME file type, as described in [RFC2045](https://www.rfc-editor.org/rfc/rfc2045) | | AES | The Advanced Encryption Standart, as described in [RFC3826](https://www.rfc-editor.org/rfc/rfc3826) | +| argon2 | The argon2 hashing algorithm, as described in [RFC9106](https://www.rfc-editor.org/rfc/rfc9106.html) # NAMING This section is more of a convention rather than a requirement. @@ -66,7 +67,7 @@ This field specified a base64 encoded IV value of the algorithm. See AES spec fo The encrypted data encoded with base64, which is specified in [RFC4648](https://www.rfc-editor.org/rfc/rfc4648). ## 2.5 Passphrase hashing format -It can be either any version of argon2 ([RFC9106](https://www.rfc-editor.org/rfc/rfc9106.html)) or SHA256. The latter is included only to support older systems, which means it is not recommended to use it. +It can be either any version of argon2 or SHA256. The latter is included only to support older systems, which means it is not recommended to use it. ## 2.6 Hashed passphrase The passphrase hashed using a hashing function defined in [2.5](#25-passphrase-hashing-format).