feat: update footer with site policies, add CTA retrieval SQL, and refactor block content management
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import org.springframework.security.crypto.password.MessageDigestPasswordEncoder;
|
||||
|
||||
public class TestOracleJDBC {
|
||||
@SuppressWarnings("deprecation")
|
||||
public static void main(String[] args) {
|
||||
MessageDigestPasswordEncoder encoder = new MessageDigestPasswordEncoder("SHA-256");
|
||||
String hash = encoder.encode("admin");
|
||||
System.out.println("Encoded hash for admin: " + hash);
|
||||
boolean matches = encoder.matches("admin", "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918");
|
||||
System.out.println("Does 'admin' match my hash? " + matches);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user