
**Inheritance:**
java.lang.Object
```
public class CryptoUtils
```
## Constructors

| Constructor | Description |
| --- | --- |
| [CryptoUtils()](#CryptoUtils--) |  |
## Methods

| Method | Description |
| --- | --- |
| [desDecrypt(byte[] data, byte[] key, byte[] iv)](#desDecrypt-byte---byte---byte---) |  |
| [desEncrypt(byte[] data, byte[] key, byte[] iv)](#desEncrypt-byte---byte---byte---) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [sha1(String str)](#sha1-java.lang.String-) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CryptoUtils() {#CryptoUtils--}
```
public CryptoUtils()
```


### desDecrypt(byte[] data, byte[] key, byte[] iv) {#desDecrypt-byte---byte---byte---}
```
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) {#desEncrypt-byte---byte---byte---}
```
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) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### sha1(String str) {#sha1-java.lang.String-}
```
public static byte[] sha1(String str)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| str | java.lang.String |  |

**Returns:**
byte[]
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

