public class DES
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2017/11/6 22:10 Description: DES Tools Remarks: =======================================================
| 限定符和类型 | 字段和说明 |
|---|---|
static DES |
INSTANCE
=======================================================
Author: liying - liruoer2008@yeah.net
Datetime: 2017/11/6 22:10
Description: DES Tools
Remarks:
=======================================================
|
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
decrypt(java.lang.String input,
kotlin.Array[] key)
Decrypt a password.
|
static java.lang.String |
decrypt(java.lang.String input,
java.lang.String key)
Decrypt a password.
|
static java.lang.String |
encrypt(kotlin.Array[] input,
kotlin.Array[] key)
Encrypts a password.
|
static java.lang.String |
encrypt(kotlin.Array[] input,
java.lang.String key)
Encrypts a password.
|
static java.lang.String |
encrypt(java.lang.String input,
kotlin.Array[] key)
Encrypts a password.
|
static java.lang.String |
encrypt(java.lang.String input,
java.lang.String key)
Encrypts a password.
|
public static DES INSTANCE
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2017/11/6 22:10 Description: DES Tools Remarks: =======================================================
@JvmStatic
@NotNull
public static java.lang.String encrypt(@NotNull
kotlin.Array[] input,
@NotNull
kotlin.Array[] key)
Encrypts a password.
input - The password to be encrypted.key - Creates a DESKeySpec object using the first 8 bytes in key as the key material for the DES key.@JvmStatic
@NotNull
public static java.lang.String encrypt(@NotNull
kotlin.Array[] input,
@NotNull
java.lang.String key)
Encrypts a password.
input - The password to be encrypted.key - Creates a DESKeySpec object using a string as the key material for the DES key.@JvmStatic
@NotNull
public static java.lang.String encrypt(@NotNull
java.lang.String input,
@NotNull
kotlin.Array[] key)
Encrypts a password.
input - The password to be encrypted.key - Creates a DESKeySpec object using the first 8 bytes in key as the key material for the DES key.@JvmStatic
@NotNull
public static java.lang.String encrypt(@NotNull
java.lang.String input,
@NotNull
java.lang.String key)
Encrypts a password.
input - The password to be encrypted.key - Creates a DESKeySpec object using a string as the key material for the DES key.@JvmStatic
@NotNull
public static java.lang.String decrypt(@NotNull
java.lang.String input,
@NotNull
kotlin.Array[] key)
Decrypt a password.
input - The password to be decrypted.key - Creates a DESKeySpec object using the first 8 bytes in key as the key material for the DES key.@JvmStatic
@NotNull
public static java.lang.String decrypt(@NotNull
java.lang.String input,
@NotNull
java.lang.String key)
Decrypt a password.
input - The password to be decrypted.key - Creates a DESKeySpec object using a string as the key material for the DES key.