瀏覽代碼

Added missing information about File.open_encrypted function to docs.

codetorex 5 年之前
父節點
當前提交
3f6a7c74e3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/File.xml

+ 1 - 0
doc/classes/File.xml

@@ -257,6 +257,7 @@
 			</argument>
 			</argument>
 			<description>
 			<description>
 				Opens an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it.
 				Opens an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it.
+				[b]Note:[/b] The provided key must be 32 bytes long.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="open_encrypted_with_pass">
 		<method name="open_encrypted_with_pass">