summaryrefslogtreecommitdiff
path: root/lib/xml/kit/decryption.rb
diff options
context:
space:
mode:
authormokha <mo@mokhan.ca>2019-01-26 11:10:03 -0700
committermokha <mo@mokhan.ca>2019-01-26 11:10:03 -0700
commite6bbb54ae0845c45f6aa31b4c1d4f013eb74e46f (patch)
treebf8464bf298d4d3d39e7d76cb3eb03f192870fb1 /lib/xml/kit/decryption.rb
parentaa66f6e179c2e17dd81c46efac416e2762093cfd (diff)
update documentation
Diffstat (limited to 'lib/xml/kit/decryption.rb')
-rw-r--r--lib/xml/kit/decryption.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xml/kit/decryption.rb b/lib/xml/kit/decryption.rb
index ddbfbc5..98535bc 100644
--- a/lib/xml/kit/decryption.rb
+++ b/lib/xml/kit/decryption.rb
@@ -15,6 +15,7 @@ module Xml
# Decrypts an EncryptedData section of an XML document.
#
# @param data [Hash] the XML document converted to a [Hash] using Hash.from_xml.
+ # @deprecated Use {#decrypt_hash} instead of this
def decrypt(data)
::Xml::Kit.deprecate(
'decrypt is deprecated. Use decrypt_xml or decrypt_hash instead.'