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)

??? ??











?? ?? ?? ??? ??? ?? ??? ??, ? ? ?? ? ??? ?????. 1. ??? ?? ???? ?? ???? ???-????, ? ??? ??? ??? ? ????, Hashmap? ???-??? ?? ??? ??? ???? ????. 2. NULL ? ?? ???? HashMap? ??? NULL ?? ?? ? ?? ???? ?? HashTable? NULL ?? ?? ???? ??? NullPointerException? ?????. 3. ????? ??? ????? ?? ??? ?? ?? ? ????? HashTable? ? ??? ?? ?? ??? ????. ?? ConcurrenTashMap? ???? ?? ????.

staticmethodsininterfaceswereIntRectionSelffacesswithinteffaceswithinteffaceswithintintinjava8toallowutilityFunctionswithinterfaceitswithinteffaceswithinterfaceffaces

JIT ????? ??? ???, ??? ?? ? ???, ?? ?? ? ???? ? ? ?? ?? ??? ? ?? ??? ?? ??? ??????. 1. ??? ???? ?? ?? ??? ??? ?? ?? ???? ??? ?? ?????. 2. ??? ?? ? ??? ?? ?? ? ??? ???? ?? ?? ???; 3. ?? ??? ??? ?? ??? ???? ???? ???? ? ?? ?? ??? ?????. 4. ?? ??? ?? ??? ??? ???? ???? ?? ? ??? ???? ?? ??? ?????.

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

??? ??? ?? ?? ??? ????? ? ???? ????? ???? ?? ???? ?? ???? ?????. ?? ??? ??? ????. ?? ?? ?? ??? ???? ???? ?? ?? ??? ??? ?? ?? ??? ??? ?????. ?? ??? ??? ????. ?? ??? ?? ??? ?? ?? ??? ?? ?? ??? ???? NewClass ()? ??? ?? ???? ????. ?? ??? ?? ??? ???? ?? ??? ?? ? ? ??? ?? ?? ??? ????? ????? ?????. ?? ??, ?? ?????? ?????, ??? ? ?? ????? ??? ?? ?????. ???? ?? ?? ??? ???? ?? ???? ?? ? ??? ???? ?? ??? ?? ?????? ?????. ???? ???? ??? ??, ?? ?? ? ?? ??? ????, ?? ?? ???? ?????.

??? ? ?? ??? ???? : ????? ?? ?. 1. int? ???? ???? ?? ?? ?? ? ??? ???? ?????. 2. ?? ? ???? (int) myDouble ??? ?? ?? ??? ?????. ?? ??? ??? ?? ??? ?? ??, ?? ?? ?? ???? ?? ??? ?? ???? ?? ?????. ???? ? ??? ??? ????. ?? ??? ??? ??? ??? ??? ?? ??? ??? ? ??? ?? ???? ??? ??? ??? ??? ? ??? ?? ??? ?? ??? ?? ?? ? ? ????. ?? ?? ??? ?? ??? ??? ??? ??? ? ??????.

Java? ?? ??? ??? ?? ??? ??? ?? ??? ??? ?? ??? ?? ?? ??? ???? ??? ?? ???? ?????. 1. ??? ???? ??? ?? ?? ? ???? ?? ??? ???? ?? ?? ??? ? ????. 2. ???? ?? ??? ???? ??? ?? ???? ?? ?? ??? ???????. 3. ?? ???? ?? ?? ?? ? ???? ???? ?? NULL ?? ??? ? ????. 4. ?? ???? ??? ?? ?? ? ??? ?????? ?? ??? ??? ?? ?? ??? ????? ??? ??? ??? ??????? ?? ???? ??????.

injava, thefinalkeywordpreventsavariable'svalue'svalueffrombeingchangedafterassignment, butitsbehaviordiffersforprimitivesandobjectreences.forprimitivevariables, asinfinalintmax_speed = 100; wherereassoncesanerror.forobjectref
