poc completed
This commit is contained in:
@@ -12,6 +12,11 @@ import java.security.NoSuchAlgorithmException;
|
||||
import java.util.UUID;
|
||||
|
||||
public class Utils {
|
||||
public static <T> T deepCopy(Object object, Class<T> clazz) {
|
||||
String json = toJson(object);
|
||||
return fromJson(json, clazz);
|
||||
}
|
||||
|
||||
public static String hashPassword(String password) {
|
||||
try {
|
||||
// Create a MessageDigest instance for SHA-256
|
||||
|
||||
Reference in New Issue
Block a user