From f086bb27a0980d5e173ccef506ef9338b5456808 Mon Sep 17 00:00:00 2001 From: blek Date: Wed, 3 Jan 2024 13:33:08 +1000 Subject: [PATCH] clarify that IV must be base64 encoded --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index 9a1aa10..e41ab9d 100644 --- a/SPEC.md +++ b/SPEC.md @@ -42,7 +42,7 @@ This field must be `0` (a JSON integer). This field specifies the mode of the AES algorithm. For now it is limited to `CBC` and `ECB` only. See AES spec for more info. ## 2.3 IV -This field specified the IV value of the algorithm. See AES spec for more info. +This field specified a base64 encoded IV value of the algorithm. See AES spec for more info. ## 2.4 Payload The encrypted data encoded with base64, which is specified in [RFC4648](https://www.rfc-editor.org/rfc/rfc4648).