public class Obfuscator extends Object
| Constructor and Description |
|---|
Obfuscator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
obfuscate(String value,
String salt)
Derives the obfuscated data from incoming parameters using PBKDF
function.
|
static String |
obfuscate(String value,
String salt,
VirgilPBKDF.Hash algorithm,
int iterations)
Derives the obfuscated data from incoming parameters using PBKDF
function.
|
public static String obfuscate(String value, String salt)
value - The string value to be hashed.salt - The hash salt.public static String obfuscate(String value, String salt, VirgilPBKDF.Hash algorithm, int iterations)
value - The string value to be hashed.salt - The hash salt.algorithm - The hash algorithm @see VirgilPBKDF.Hash type.iterations - The count of iterations.Copyright © 2016. All rights reserved.