public class Crypt extends Object
Modifier and Type | Method and Description |
---|---|
static String |
generateRandomKey(int pLength)
generate a Random key
|
String |
getCypher() |
static Crypt |
getRandomCrypt()
get a random Crypt
|
String |
getSalt()
return the salt
|
static void |
main(String[] args)
test this
|
void |
setCypher(char[] cypher) |
public String getCypher()
public String getSalt()
public void setCypher(char[] cypher)
cypher
- the cypher to setpublic static String generateRandomKey(int pLength)
pLength
- public static Crypt getRandomCrypt()
Copyright © 2018 BITPlan GmbH. All rights reserved.