Forráskód Böngészése

HPCC-23966 Document STD.Crypto Decrypt restriction

Signed-off-by: Jim DeFabia <jamesdefabia@lexisnexis.com>
Jim DeFabia 5 éve
szülő
commit
eccd520ecb

+ 8 - 4
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/Crypto.xml

@@ -475,7 +475,8 @@ OUTPUT(decryptedStr);</programlisting>
 
 
     <para>The Decrypt function decrypts the given
     <para>The Decrypt function decrypts the given
     <emphasis>encryptedData</emphasis> using the options defined in the
     <emphasis>encryptedData</emphasis> using the options defined in the
-    Symmetric Encryption module.</para>
+    Symmetric Encryption module. You can only decrypt data that was encrypted
+    by the Standard Library's Encrypt method. </para>
 
 
     <para>Example:</para>
     <para>Example:</para>
 
 
@@ -669,7 +670,8 @@ OUTPUT( (STRING)myPKEModule.Decrypt(encrypted) );
 
 
     <para>The Decrypt function decrypts the given
     <para>The Decrypt function decrypts the given
     <emphasis>encryptedData</emphasis>, using the options specified in the
     <emphasis>encryptedData</emphasis>, using the options specified in the
-    Public Key Encryption module definition.</para>
+    Public Key Encryption module definition. You can only decrypt data that
+    was encrypted by the Standard Library's Encrypt method. </para>
 
 
     <para>Example:</para>
     <para>Example:</para>
 
 
@@ -1048,7 +1050,8 @@ OUTPUT( (STRING)MyPKEModule.Decrypt(encrypted));</programlisting>
 
 
     <para>The Decrypt function decrypts the given
     <para>The Decrypt function decrypts the given
     <emphasis>encryptedData</emphasis>, using the options specified in the
     <emphasis>encryptedData</emphasis>, using the options specified in the
-    Public Key Encryption From Buffer module definition.</para>
+    Public Key Encryption From Buffer module definition. You can only decrypt
+    data that was encrypted by the Standard Library's Encrypt method. </para>
 
 
     <para>Example:</para>
     <para>Example:</para>
 
 
@@ -1570,7 +1573,8 @@ OUTPUT( (STRING)MyPKEModule.Decrypt(encrypted));
 
 
     <para>The Decrypt function decrypts the given
     <para>The Decrypt function decrypts the given
     <emphasis>encryptedData</emphasis>, using the options specified in the
     <emphasis>encryptedData</emphasis>, using the options specified in the
-    Public Key Encryption From LFN module definition.</para>
+    Public Key Encryption From LFN module definition. You can only decrypt
+    data that was encrypted by the Standard Library's Encrypt method. </para>
 
 
     <para>Example:</para>
     <para>Example:</para>