Author: sebb
Date: Thu Mar 30 16:39:42 2017
New Revision: 1789540
URL: http://svn.apache.org/viewvc?rev=1789540&view=rev
Log:
When deprecated
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java?rev=1789540&r1=1789539&r2=1789540&view=diff
==============================================================================
---
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
(original)
+++
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
Thu Mar 30 16:39:42 2017
@@ -257,7 +257,7 @@ public class DigestUtils {
* @return An SHA-1 digest instance.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught
- * @deprecated Use {@link #getSha1Digest()}
+ * @deprecated (1.11) Use {@link #getSha1Digest()}
*/
@Deprecated
public static MessageDigest getShaDigest() {
@@ -418,7 +418,7 @@ public class DigestUtils {
* @param data
* Data to digest
* @return SHA-1 digest
- * @deprecated Use {@link #sha1(byte[])}
+ * @deprecated (1.11) Use {@link #sha1(byte[])}
*/
@Deprecated
public static byte[] sha(final byte[] data) {
@@ -434,7 +434,7 @@ public static byte[] sha(final byte[] da
* @throws IOException
* On error reading from the stream
* @since 1.4
- * @deprecated Use {@link #sha1(InputStream)}
+ * @deprecated (1.11) Use {@link #sha1(InputStream)}
*/
@Deprecated
public static byte[] sha(final InputStream data) throws IOException {
@@ -447,7 +447,7 @@ public static byte[] sha(final byte[] da
* @param data
* Data to digest
* @return SHA-1 digest
- * @deprecated Use {@link #sha1(String)}
+ * @deprecated (1.11) Use {@link #sha1(String)}
*/
@Deprecated
public static byte[] sha(final String data) {
@@ -817,7 +817,7 @@ public static byte[] sha(final byte[] da
* @param data
* Data to digest
* @return SHA-1 digest as a hex string
- * @deprecated Use {@link #sha1Hex(byte[])}
+ * @deprecated (1.11) Use {@link #sha1Hex(byte[])}
*/
@Deprecated
public static String shaHex(final byte[] data) {
@@ -833,7 +833,7 @@ public static byte[] sha(final byte[] da
* @throws IOException
* On error reading from the stream
* @since 1.4
- * @deprecated Use {@link #sha1Hex(InputStream)}
+ * @deprecated (1.11) Use {@link #sha1Hex(InputStream)}
*/
@Deprecated
public static String shaHex(final InputStream data) throws IOException {
@@ -846,7 +846,7 @@ public static byte[] sha(final byte[] da
* @param data
* Data to digest
* @return SHA-1 digest as a hex string
- * @deprecated Use {@link #sha1Hex(String)}
+ * @deprecated (1.11) Use {@link #sha1Hex(String)}
*/
@Deprecated
public static String shaHex(final String data) {
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java?rev=1789540&r1=1789539&r2=1789540&view=diff
==============================================================================
---
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
(original)
+++
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
Thu Mar 30 16:39:42 2017
@@ -103,7 +103,7 @@ public final class HmacUtils {
* @see Mac#init(Key)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code getInitializedMac(HmacAlgorithms.HMAC_MD5,
byte[])}
+ * @deprecated (1.11) Use {@code
getInitializedMac(HmacAlgorithms.HMAC_MD5, byte[])}
*/
@Deprecated
public static Mac getHmacMd5(final byte[] key) {
@@ -123,7 +123,7 @@ public final class HmacUtils {
* @see Mac#init(Key)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code getInitializedMac(HmacAlgorithms.HMAC_SHA_1,
byte[])}
+ * @deprecated (1.11) Use {@code
getInitializedMac(HmacAlgorithms.HMAC_SHA_1, byte[])}
*/
@Deprecated
public static Mac getHmacSha1(final byte[] key) {
@@ -143,7 +143,7 @@ public final class HmacUtils {
* @see Mac#init(Key)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code getInitializedMac(HmacAlgorithms.HMAC_SHA_256,
byte[])}
+ * @deprecated (1.11) Use {@code
getInitializedMac(HmacAlgorithms.HMAC_SHA_256, byte[])}
*/
@Deprecated
public static Mac getHmacSha256(final byte[] key) {
@@ -163,7 +163,7 @@ public final class HmacUtils {
* @see Mac#init(Key)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code getInitializedMac(HmacAlgorithms.HMAC_SHA_384,
byte[])}
+ * @deprecated (1.11) Use {@code
getInitializedMac(HmacAlgorithms.HMAC_SHA_384, byte[])}
*/
@Deprecated
public static Mac getHmacSha384(final byte[] key) {
@@ -183,7 +183,7 @@ public final class HmacUtils {
* @see Mac#init(Key)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code getInitializedMac(HmacAlgorithms.HMAC_SHA_512,
byte[])}
+ * @deprecated (1.11) Use {@code
getInitializedMac(HmacAlgorithms.HMAC_SHA_512, byte[])}
*/
@Deprecated
public static Mac getHmacSha512(final byte[] key) {
@@ -256,7 +256,7 @@ public final class HmacUtils {
* @return HmacMD5 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmac(byte[])}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmac(byte[])}
*/
@Deprecated
public static byte[] hmacMd5(final byte[] key, final byte[] valueToDigest)
{
@@ -278,7 +278,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmac(InputStream)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmac(InputStream)}
*/
@Deprecated
public static byte[] hmacMd5(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -295,7 +295,7 @@ public final class HmacUtils {
* @return HmacMD5 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
String).hmac(String)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
String).hmac(String)}
*/
@Deprecated
public static byte[] hmacMd5(final String key, final String valueToDigest)
{
@@ -312,7 +312,7 @@ public final class HmacUtils {
* @return HmacMD5 MAC for the given key and value as a hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmacHex(byte[])}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmacHex(byte[])}
*/
@Deprecated
public static String hmacMd5Hex(final byte[] key, final byte[]
valueToDigest) {
@@ -334,7 +334,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmacHex(InputStream)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
byte[]).hmacHex(InputStream)}
*/
@Deprecated
public static String hmacMd5Hex(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -351,7 +351,7 @@ public final class HmacUtils {
* @return HmacMD5 MAC for the given key and value as a hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
String).hmacHex(String)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_MD5,
String).hmacHex(String)}
*/
@Deprecated
public static String hmacMd5Hex(final String key, final String
valueToDigest) {
@@ -370,7 +370,7 @@ public final class HmacUtils {
* @return HmacSHA1 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmac(byte[])}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmac(byte[])}
*/
@Deprecated
public static byte[] hmacSha1(final byte[] key, final byte[]
valueToDigest) {
@@ -392,7 +392,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmac(InputStream)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmac(InputStream)}
*/
@Deprecated
public static byte[] hmacSha1(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -409,7 +409,7 @@ public final class HmacUtils {
* @return HmacSHA1 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
String).hmac(String)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
String).hmac(String)}
*/
@Deprecated
public static byte[] hmacSha1(final String key, final String
valueToDigest) {
@@ -426,7 +426,7 @@ public final class HmacUtils {
* @return HmacSHA1 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmacHex(byte[])}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmacHex(byte[])}
*/
@Deprecated
public static String hmacSha1Hex(final byte[] key, final byte[]
valueToDigest) {
@@ -448,7 +448,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmacHex(InputStream)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
byte[]).hmacHex(InputStream)}
*/
@Deprecated
public static String hmacSha1Hex(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -465,7 +465,7 @@ public final class HmacUtils {
* @return HmacSHA1 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
String).hmacHex(String)}
+ * @deprecated (1.11) Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_1,
String).hmacHex(String)}
*/
@Deprecated
public static String hmacSha1Hex(final String key, final String
valueToDigest) {
@@ -484,7 +484,7 @@ public final class HmacUtils {
* @return HmacSHA256 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_256,
byte[]).hmac(byte[])}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmac(byte[])}
*/
@Deprecated
public static byte[] hmacSha256(final byte[] key, final byte[]
valueToDigest) {
@@ -506,7 +506,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_256,
byte[]).hmac(InputStream)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmac(InputStream)}
*/
@Deprecated
public static byte[] hmacSha256(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -523,7 +523,7 @@ public final class HmacUtils {
* @return HmacSHA256 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_256,
String).hmac(String)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_256, String).hmac(String)}
*/
@Deprecated
public static byte[] hmacSha256(final String key, final String
valueToDigest) {
@@ -540,7 +540,7 @@ public final class HmacUtils {
* @return HmacSHA256 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_256,
byte[]).hmacHex(byte[])}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmacHex(byte[])}
*/
@Deprecated
public static String hmacSha256Hex(final byte[] key, final byte[]
valueToDigest) {
@@ -562,7 +562,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_256,
byte[]).hmacHex(InputStream)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmacHex(InputStream)}
*/
@Deprecated
public static String hmacSha256Hex(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -579,7 +579,7 @@ public final class HmacUtils {
* @return HmacSHA256 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_256,
String).hmacHex(String)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_256, String).hmacHex(String)}
*/
@Deprecated
public static String hmacSha256Hex(final String key, final String
valueToDigest) {
@@ -598,7 +598,7 @@ public final class HmacUtils {
* @return HmacSHA384 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_384,
byte[]).hmac(byte[])}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmac(byte[])}
*/
@Deprecated
public static byte[] hmacSha384(final byte[] key, final byte[]
valueToDigest) {
@@ -620,7 +620,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_384,
byte[]).hmac(InputStream)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmac(InputStream)}
*/
@Deprecated
public static byte[] hmacSha384(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -637,7 +637,7 @@ public final class HmacUtils {
* @return HmacSHA384 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_384,
String).hmac(String)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_384, String).hmac(String)}
*/
@Deprecated
public static byte[] hmacSha384(final String key, final String
valueToDigest) {
@@ -654,7 +654,7 @@ public final class HmacUtils {
* @return HmacSHA384 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_384,
byte[]).hmacHex(byte[])}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmacHex(byte[])}
*/
@Deprecated
public static String hmacSha384Hex(final byte[] key, final byte[]
valueToDigest) {
@@ -676,7 +676,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_384,
byte[]).hmacHex(InputStream)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmacHex(InputStream)}
*/
@Deprecated
public static String hmacSha384Hex(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -693,7 +693,7 @@ public final class HmacUtils {
* @return HmacSHA384 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_384,
String).hmacHex(String)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_384, String).hmacHex(String)}
*/
@Deprecated
public static String hmacSha384Hex(final String key, final String
valueToDigest) {
@@ -712,7 +712,7 @@ public final class HmacUtils {
* @return HmacSHA512 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_512,
byte[]).hmac(byte[])}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmac(byte[])}
*/
@Deprecated
public static byte[] hmacSha512(final byte[] key, final byte[]
valueToDigest) {
@@ -734,7 +734,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_512,
byte[]).hmac(InputStream)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmac(InputStream)}
*/
@Deprecated
public static byte[] hmacSha512(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -751,7 +751,7 @@ public final class HmacUtils {
* @return HmacSHA512 MAC for the given key and value
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_512,
String).hmac(String)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_512, String).hmac(String)}
*/
@Deprecated
public static byte[] hmacSha512(final String key, final String
valueToDigest) {
@@ -768,7 +768,7 @@ public final class HmacUtils {
* @return HmacSHA512 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_512,
byte[]).hmacHex(byte[])}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmacHex(byte[])}
*/
@Deprecated
public static String hmacSha512Hex(final byte[] key, final byte[]
valueToDigest) {
@@ -790,7 +790,7 @@ public final class HmacUtils {
* If an I/O error occurs.
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_512,
byte[]).hmacHex(InputStream)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmacHex(InputStream)}
*/
@Deprecated
public static String hmacSha512Hex(final byte[] key, final InputStream
valueToDigest) throws IOException {
@@ -807,7 +807,7 @@ public final class HmacUtils {
* @return HmacSHA512 MAC for the given key and value as hex string
(lowercase)
* @throws IllegalArgumentException
* when a {@link NoSuchAlgorithmException} is caught or key is
null or key is invalid.
- * @deprecated Use {@code new HmacUtils(HmacAlgorithms.HMAC_SHA_512,
String).hmacHex(String)}
+ * @deprecated (1.11) Use {@code new
HmacUtils(HmacAlgorithms.HMAC_SHA_512, String).hmacHex(String)}
*/
@Deprecated
public static String hmacSha512Hex(final String key, final String
valueToDigest) {