diff --git a/core/java/src/net/i2p/crypto/KeyGenerator.java b/core/java/src/net/i2p/crypto/KeyGenerator.java index eb7d7aab8..606824418 100644 --- a/core/java/src/net/i2p/crypto/KeyGenerator.java +++ b/core/java/src/net/i2p/crypto/KeyGenerator.java @@ -59,7 +59,7 @@ public class KeyGenerator { /** * PBE the passphrase with the salt. * Warning - SLOW - * @deprecated unused + * Deprecated - Used by Syndie only. */ public SessionKey generateSessionKey(byte salt[], byte passphrase[]) { byte salted[] = new byte[16+passphrase.length]; diff --git a/core/java/src/net/i2p/data/DataHelper.java b/core/java/src/net/i2p/data/DataHelper.java index ad6ac6ea9..4a6449382 100644 --- a/core/java/src/net/i2p/data/DataHelper.java +++ b/core/java/src/net/i2p/data/DataHelper.java @@ -1641,10 +1641,10 @@ public class DataHelper { /** * Same as new String(orig, "UTF-8") but throws an unchecked RuntimeException * instead of an UnsupportedEncodingException if no UTF-8, for ease of use. + * Used by Syndie. * * @return null if orig is null * @throws RuntimeException - * @deprecated unused */ public static String getUTF8(byte orig[]) { if (orig == null) return null;