1. ???? ??? ??? ??
?? ??? ? ?? ??? ???, ????? ???? ?? ?? ????? ??? ????. ???? ????? ???? ?? ??? ?? ??, ?? ?? ? ?? ??? ?? ?????. ??? ????? ???? ???? ?? ???? ??? ?? ?? ?????.
1.1 ??? ???? ??? ??
???? ??? ???? ??? ??, ?? ??, ??? ??? ??? ??? ? ????. ??? ?? ???? ????? ?? ?? ????? ????? ??? ??? ??? ???? ?? ?? ???? ??? ??? ? ?? ???? ?? ? ?????.
1.2 ???? ???? ??? ??
??? ????? ?? ??? ???? ???? ?????, ??? ?????? ?? ??????. ?? ?? ??? ?? ??? ???, ?????, ??? ? ???, ??? ??? ?? ??? ??? ???? ???.
2. ??? ????? ???? ??
???????? ??? ????? ???? ? ?? ??? ??? ????. ?? ????? ?? ??, ?? ? ??? ?? ??? ??? ??? ????.
2.1 ?? ? ???? ??
??? ????? ???? ?? ????? ??? ???? ???? ???????. ? ??? ? ?? ???? ??? ????? ?????? ?? ?? ??? ??? ???? ?? ??? ?? ???(???? ???)? ??? ???? ?? ? ??? ????.
Java? ?? ? ?? ?? ??:
import java.security.SecureRandom; import java.security.MessageDigest; import java.util.Base64; public class PasswordSecurity { private static final String SALT_ALGORITHM = "SHA1PRNG"; private static final String HASH_ALGORITHM = "SHA-256"; public static String generateSalt() throws Exception { SecureRandom sr = SecureRandom.getInstance(SALT_ALGORITHM); byte[] salt = new byte[16]; sr.nextBytes(salt); return Base64.getEncoder().encodeToString(salt); } public static String hashPassword(String password, String salt) throws Exception { MessageDigest md = MessageDigest.getInstance(HASH_ALGORITHM); md.update(salt.getBytes()); byte[] hashedPassword = md.digest(password.getBytes()); return Base64.getEncoder().encodeToString(hashedPassword); } public static void main(String[] args) throws Exception { String salt = generateSalt(); String hashedPassword = hashPassword("mySecurePassword123", salt); System.out.println("Salt: " + salt); System.out.println("Hashed Password: " + hashedPassword); } }
???? ??? ??? ??? ????? ????? ??? ?????? ??? ?? ??? ?????.
2.2 ??? ?? ???? ??(bcrypt, scrypt, Argon2)
bcrypt, scrypt ? Argon2? ?? ?? ?? ????? ?? ????? ??? ???? ??? ?? ??? ?????. ??? ????? ? ????? ?? ??? ???? ??? ??? ?? ???? ????? ?? ?????.
Java?? bcrypt? ???? ?? ??:
import org.mindrot.jbcrypt.BCrypt; public class BCryptExample { public static String hashPassword(String plainPassword) { return BCrypt.hashpw(plainPassword, BCrypt.gensalt(12)); } public static boolean checkPassword(String plainPassword, String hashedPassword) { return BCrypt.checkpw(plainPassword, hashedPassword); } public static void main(String[] args) { String hashed = hashPassword("mySecurePassword123"); System.out.println("Hashed Password: " + hashed); boolean isMatch = checkPassword("mySecurePassword123", hashed); System.out.println("Password Match: " + isMatch); } }
??? ????? ???? ???? ??? ???? ???? ??? ?? bcrypt? ??? ???? ???????.
2.3 Pepper: ?? ?? ??
Pepper??? ???? ?? ????? ?? ?(Pepper??? ?)? ?????. ??? ??? ???? ? ??? ??? ????? ?????? ?? ?? ?? ??? ???? ?? ?? ??? ?????.
?? ??:
- ?? ??? ???? ???? ?? ?? ?????.
- ???? ?? ??? ?? ????? ??? ?????.
2.4 ?? ?? ? ?? ?? ???? ??
??? ??? ??? ?????? ??? ?? ??? ??? ???????. ?? ??(?: ??? ?? ?? ??) ? ?? ?? ????? ???? ??? ??? ???? ? ??? ???.
Java? ?? ??? ?? ?? ??:
import java.security.SecureRandom; import java.security.MessageDigest; import java.util.Base64; public class PasswordSecurity { private static final String SALT_ALGORITHM = "SHA1PRNG"; private static final String HASH_ALGORITHM = "SHA-256"; public static String generateSalt() throws Exception { SecureRandom sr = SecureRandom.getInstance(SALT_ALGORITHM); byte[] salt = new byte[16]; sr.nextBytes(salt); return Base64.getEncoder().encodeToString(salt); } public static String hashPassword(String password, String salt) throws Exception { MessageDigest md = MessageDigest.getInstance(HASH_ALGORITHM); md.update(salt.getBytes()); byte[] hashedPassword = md.digest(password.getBytes()); return Base64.getEncoder().encodeToString(hashedPassword); } public static void main(String[] args) throws Exception { String salt = generateSalt(); String hashedPassword = hashPassword("mySecurePassword123", salt); System.out.println("Salt: " + salt); System.out.println("Hashed Password: " + hashedPassword); } }
3. ???? ?? ?? ??
??? ??? ????? ?? ?? ??? ?????.
???? ??? ??? ?? ??
??? ???? ???? ???? ?? ??? ?? ???? ???? ????? ???. ??? ???? ????? ?? ?? ??? ???????? ? ???.
?? ????? ????? ???????
?? ????? ??? ?? ?? ??? ???? ??? ?? ??? ???? ??? ?? ????? ??? ?????.
??? ??(MFA) ??
??? ???? ??? ????? MFA? ???? ????? ?? ??? ??? ????? ???? ?? ??? ?????.
4. ??
???????? ??? ????? ???? ?? ?? ??? ???? ???? ??? ????. ??? ??? ????? ??? ??? ??? ?????. ?? ??, ??? ?? ???? ??, ?? ??, ?? ?? ? ?? ?? ???? ??? ?? ???? ??? ??? ????? ??? ?? ??? ? ????.
? ??? ?? ??? ??? ?? ?????? ??? ???? ??? ?????!
?? ? ?? ???? ?????: ??????? ??? ??? ????
? ??? ??????? ?? ??? ????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

Java??? ?? ??? ????? ? ?? ?? ???? ????. ??, ?? ??? ??? ??? ?? ? ? ???, ?? ?? ?? ??? ?? ?? ?? ???? ??? ?????. Runnable? run () ????? ?? ?? ??? ??? ?? ?? ? ????? ??? ?????. ??, Callable? ?? ??? ?????? ?? ?? ? ??? ?? ? ????. ?? ????? ????? ??? ???????. ??, Runnable? ??? ?? ExecutorService? ?? ?? ? ? ??? Callable? ExecutorService?? ??? ? ??? ?? ??? ?? ? ? ????.

Java? ??? ?? ??, ?? ? ??? (? : Projectreactor) ? Java19? ?? ???? ??? ??? ?????? ?????. 1. CompletableFuture? ?? ??? ?? ?? ??? ? ?? ??? ????? ?? ??????? ? ?? ??? ?????. 2. Projectreactor? ?? ? ??? ??? ???? ?? ???? ? ??? ???? ?? ? ?????? ?????. 3. ?? ???? ??? ??? ??? I/O ??? ? ??? ???? ?? ??? ????? ??? ???? ????. ? ???? ?? ??? ????? ??? ??? ??? ?? ??? ??? ?????? ???? ???? ?? ?? ??? ??????.

Javanio? Java 1.4? ?? ? ??? IOAPI???. 1) ?? ? ??? ?????, 2) ??, ?? ? ??? ?? ?? ??, 3) ? ??? ??? ???? 4) ?? ??? ?? IO?? ? ????? ?????. 1) ? ?? IO? ??? ?? ??? ???, 2) ??? ??? ?? ???? ?????, 3) ???? ?????? ???? 4) ??? ?? ??? ?? ?? ? ??? ?????. 1) ??? ??/??? ??? ?? ?????, 2) ???? ???? ???? ?? ???? ???????. 3) ??? ??? ??? ???????.

Java?? ??? ?? ?? ??? ???? ? ?????. ?? ???? ??? ?????. 1. ?? ?? ? ???? ??????? ?? ?? ?? ??? ???? ??? ?????. 2. ?? ??, ???, ??? ?? ?? ?? ???? ????? ?? ??? ??? ??? ?????. 3. ENUMMAP ? ENUMSET? ???? ?? ? ?? ???? ???? ??? ???? ? ?????? ?????. 4. ?? ?, ??? ?? ?? ??? ?? ????? ?? ??? ??? ?????.? ????? ?? ???? ????????. ??? ???? ???? ?? ??? ????? ??? ?? ? ??? ?? ?????? ???????.

Java? ????? ????? ??? ??? ?? ???? ?? ?? ??????, ?? ? ???? ? ??? ????. ?? ???? ??? ??? ???? ??? ??? ???? ?? ??? ??? ????. ???? ???? ??? ??, ?? ??? ???? ???? ?? ??? ?? ???? ?? ?????. ???? ?? ?? ??? ?? ?? ??? ?????. ?????? ?? ??? ??? ???? ?? ??? ??? ?? ??? ???? ???? ??? ?? ??? ?????? ???? ????? ??? ?? ?? ???, ?? ? ?? ???? ??? ??? ?????. ???? urlclassl? ?? ??? ??? ??? ?? ? ? ????

JavaprovidesmultiplesynchronizationToolsforthreadsAfety.1.SynchronizedBlocksensUremutualExclusionByLockingMethodSorspecificCodesections.2.reentrantLockofferAdcerAdcenctrol, ratelockandFairnessPolicies.3.ConditionVariablesStowFor

Java ?? ??? ??? ?? ? ??? ???? ?? ??? ???? Try-Catch? ???? ????? ????? ???? ????. 1. IoException? ?? ?? ? ??? ???? ?? ??? ??? ?? ???????. 2. NullPointerException? ?? ???? ?? ??? ????? ???? ?? ??? ?? ???? ??? ?????. 3. ??? ?? ? ?? ??? ???? ??? ??? ?? ????? ???????. 4. CODE? ?? ??? ??? ?? ??? ???? ??? ???? ??? ???? ?? ?? ????. 5. ?? ???? ??? ??? ?? ??? ??? ?? ???? ??? ???????.

?? ?? Java? ?? ???? ?? ? ? ? ????? ????, ? ??? ??? ??? ??? ???? ? ????. 1. ?? ?? hashcode () ???? ???? ?? ?? ???? ?? ??? ?? ?? ???? ?????. 2. ?? ??? ??? ?? ?? ???? ??? ??? ? ????. ?? ??? ?? ? ??? ??? ?????. JDK8 ? ?? ? ??? ?? ?? (?? ?? 8) ??? ????? ?? ???? ?? ? ??? ?????. 3. ??? ?? ???? ?? ???? ?? equals () ? hashcode () ???? ?? ???????. 4. ?? ?? ??? ???? ?????. ?? ?? ??? ???? ?? ?? (?? 0.75)? ??? ?? ? ???; 5. ?? ?? ??? ??? ??? Multithreaded?? Concu? ???????.
