feat: update footer with site policies, add CTA retrieval SQL, and refactor block content management

This commit is contained in:
2026-07-17 22:07:01 +07:00
parent 49b8d2b2ea
commit 6af9240c22
59 changed files with 140 additions and 612 deletions
@@ -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);
}
}