clarify that IV must be base64 encoded

This commit is contained in:
blek 2024-01-03 13:33:08 +10:00
parent 4f7385a04d
commit f086bb27a0
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -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. 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 ## 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 ## 2.4 Payload
The encrypted data encoded with base64, which is specified in [RFC4648](https://www.rfc-editor.org/rfc/rfc4648). The encrypted data encoded with base64, which is specified in [RFC4648](https://www.rfc-editor.org/rfc/rfc4648).