forked from I2P_Developers/i2p.i2p
undeprecate for syndie
This commit is contained in:
@ -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];
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user