From fdfbb06e6cb0d020202f58ec995415cb4cde0d7f Mon Sep 17 00:00:00 2001 From: Fin Date: Thu, 9 Mar 2023 14:52:34 +0800 Subject: [PATCH] update docs --- docs/encryption.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/encryption.md b/docs/encryption.md index 9a99343..d83be17 100644 --- a/docs/encryption.md +++ b/docs/encryption.md @@ -32,5 +32,6 @@ ciphertext=$(echo -n $json | openssl enc -aes-128-cbc -K $key -iv $iv | base64) # The console will print "d3QhjQjP5majvNt5CjsvFWwqqj2gKl96RFj5OO+u6ynTt7lkyigDYNA3abnnCLpr" echo $ciphertext +# URL encoding the ciphertext, there may be special characters. curl --data-urlencode "ciphertext=$ciphertext" http://api.day.app/$deviceKey ``` \ No newline at end of file