ants.p2p.query.security
Class SimmetricProvider
java.lang.Object
ants.p2p.query.security.SimmetricProvider
public class SimmetricProvider
- extends java.lang.Object
Method Summary |
static byte[] |
decrypt(java.lang.String sessionKey,
byte[] message)
|
static byte[] |
encrypt(java.lang.String sessionKey,
byte[] message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cipher
public static final java.lang.String cipher
- See Also:
- Constant Field Values
cipherKeySize
public static final int cipherKeySize
- See Also:
- Constant Field Values
SimmetricProvider
public SimmetricProvider()
encrypt
public static byte[] encrypt(java.lang.String sessionKey,
byte[] message)
decrypt
public static byte[] decrypt(java.lang.String sessionKey,
byte[] message)