| | |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | String s = encryptPassword("0192023a7bbd73250516f069df18b500"); |
| | | String s = encryptPassword("123456"); |
| | | System.err.println(s); |
| | | |
| | | // System.err.println(matchesPassword("c4ca4238a0b923820dcc509a6f75849b", "$2a$10$/7z/wiZ2ejTjD4GQuuyiSe1ptS8uoxrRAUlGCitiLEmpOO78cISeq")); |
| | | System.err.println(matchesPassword("123456", "$2a$10$QTL3AZW2YMtRu/jMEOzYmeeAB7c3aIq/4VyuvqtyEAARVYfhXyFRi")); |
| | | System.err.println(matchesPassword("123456", "$2a$10$Mg1l9OMJ/gFTQZmDql.21OVgGulPTQgze/cZWNe5plRpRDRjq79Ju")); |
| | | } |
| | | } |