CryptoUtils
Contents
[
Hide
]Inheritance: java.lang.Object
public class CryptoUtils
Constructors
Constructor | Description |
---|---|
CryptoUtils() |
Methods
CryptoUtils()
public CryptoUtils()
desDecrypt(byte[] data, byte[] key, byte[] iv)
public static byte[] desDecrypt(byte[] data, byte[] key, byte[] iv)
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | |
key | byte[] | |
iv | byte[] |
Returns: byte[]
desEncrypt(byte[] data, byte[] key, byte[] iv)
public static byte[] desEncrypt(byte[] data, byte[] key, byte[] iv)
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | |
key | byte[] | |
iv | byte[] |
Returns: byte[]
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
sha1(String str)
public static byte[] sha1(String str)
Parameters:
Parameter | Type | Description |
---|---|---|
str | java.lang.String |
Returns: byte[]
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |