DarthSim 1 年間 前
コミット
56b294cbd3
3 ファイル変更4 行追加4 行削除
  1. 1 1
      docs/generating_the_url.md
  2. 1 1
      docs/getting_the_image_info.md
  3. 2 2
      docs/signing_the_url.md

+ 1 - 1
docs/generating_the_url.md

@@ -885,7 +885,7 @@ When using an encoded source URL, you can specify the [extension](#extension) af
 /aHR0cDovL2V4YW1w/bGUuY29tL2ltYWdl/cy9jdXJpb3NpdHku/anBn.png
 ```
 
-### Encrypted with AES-CBC
+### Encrypted with AES-CBC![pro](./assets/pro.svg) :id=encrypted-with-aes-cbc
 
 The source URL can be encrypted with the AES-CBC algorithm, prepended by the `/enc/` segment. The encrypted URL can be split with `/` as desired:
 

+ 1 - 1
docs/getting_the_image_info.md

@@ -36,7 +36,7 @@ The source URL can be encoded with URL-safe Base64. The encoded URL can be split
 /aHR0cDovL2V4YW1w/bGUuY29tL2ltYWdl/cy9jdXJpb3NpdHku/anBn
 ```
 
-#### Encrypted with AES-CBC
+#### Encrypted with AES-CBC![pro](./assets/pro.svg) :id=encrypted-with-aes-cbc
 
 The source URL can be encrypted with the AES-CBC algorithm, prepended by the `/enc/` segment. The encrypted URL can be split with `/` as desired:
 

+ 2 - 2
docs/signing_the_url.md

@@ -23,8 +23,8 @@ A signature is a URL-safe Base64-encoded HMAC digest of the rest of the path, in
 
 
 * Take the part of the path after the signature:
-  * For [processing URLs](generating_the_url.md): `/%processing_options/%encoded_url.%extension` or `/%processing_options/plain/%plain_url@%extension`
-  * For [info URLs](getting_the_image_info.md): `/%encoded_url` or `/plain/%plain_url`
+  * For [processing URLs](generating_the_url.md): `/%processing_options/%encoded_url.%extension`, `/%processing_options/plain/%plain_url@%extension`, or `/%processing_options/enc/%encrypted_url.%extension`
+  * For [info URLs](getting_the_image_info.md): `/%encoded_url`, `/plain/%plain_url`, or `/enc/%encrypted_url`
 * Add a salt to the beginning.
 * Calculate the HMAC digest using SHA256.
 * Encode the result with URL-safe Base64.