public class AccountUtils extends Object
| Constructor and Description |
|---|
AccountUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
bytesToHex(byte[] bytes) |
static String |
encryptNewUserPassword(String password,
String salt) |
static String |
encryptPassword(String password,
String userSalt)
Return the encrypted version of the given password, using the salt from the settings file.
|
static Account |
fromDTO(AccountTransfer info) |
public static String encryptPassword(String password, String userSalt)
password - non-empty stringprotected static String bytesToHex(byte[] bytes)
public static Account fromDTO(AccountTransfer info)
Copyright © 2017. All rights reserved.