undeprecate for syndie

This commit is contained in:
zzz
2012-03-23 17:00:51 +00:00
parent 675e8a91a4
commit c2e36453b8
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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;