JAVA¼ÓÃÜËã·¨
MD5Ëã·¨ÊÇÒ»Öַdz£ÓÅÐãµÄ¼ÓÃÜËã·¨¡£
MD5¼ÓÃÜËã·¨Ìص㣺Áé»îÐÔ¡¢²»¿É»Ö¸´ÐÔ¡£
½éÉÜMD5¼ÓÃÜËã·¨»ù±¾Çé¿öMD5µÄÈ«³ÆÊÇMessage-Digest Algorithm 5£¬ÔÚ90Äê´ú³õÓÉMITµÄ¼ÆËã»ú¿ÆѧʵÑéÊÒºÍRSA Data Security Inc·¢Ã÷£¬¾MD2¡¢MD3ºÍMD4·¢Õ¹¶øÀ´¡£
Message-Digest·ºÖ¸×Ö½Ú´®(Message)µÄHash±ä»»£¬¾ÍÊÇ°ÑÒ»¸öÈÎÒⳤ¶ÈµÄ×Ö½Ú´®±ä»»³ÉÒ»¶¨³¤µÄ´óÕûÊý¡£Çë×¢ÒâÎÒʹÓÃÁË"×Ö½Ú´®"¶ø²»ÊÇ"×Ö·û´®"Õâ¸ö´Ê£¬ÊÇÒòΪÕâÖֱ任ֻÓë×Ö½ÚµÄÖµÓйأ¬Óë×Ö·û¼¯»ò±àÂ뷽ʽÎ޹ء£
MD5½«ÈÎÒⳤ¶ÈµÄ"×Ö½Ú´®"±ä»»³ÉÒ»¸ö128bitµÄ´óÕûÊý£¬²¢ÇÒËüÊÇÒ»¸ö²»¿ÉÄæµÄ×Ö·û´®±ä»»Ëã·¨£¬»»¾ä»°Ëµ¾ÍÊÇ£¬¼´Ê¹Äã¿´µ½Ô´³ÌÐòºÍËã·¨ÃèÊö£¬Ò²ÎÞ·¨½«Ò»¸öMD5µÄÖµ±ä»»»ØÔʼµÄ×Ö·û´®£¬´ÓÊýѧÔÀíÉÏ˵£¬ÊÇÒòΪÔʼµÄ×Ö·û´®ÓÐÎÞÇî¶à¸ö£¬ÕâÓеãÏó²»´æÔÚ·´º¯ÊýµÄÊýѧº¯Êý¡£
MD5µÄµäÐÍÓ¦ÓÃÊǶÔÒ»¶ÎMessage(×Ö½Ú´®)²úÉúfingerprint(Ö¸ÎÆ)£¬ÒÔ·ÀÖ¹±»"´Û¸Ä"¡£¾Ù¸öÀý×Ó£¬Ä㽫һ¶Î»°Ð´ÔÚÒ»¸ö½Ðreadme.txtÎļþÖУ¬²¢¶ÔÕâ¸öreadme.txt²úÉúÒ»¸öMD5µÄÖµ²¢¼Ç¼ÔÚ°¸£¬È»ºóÄã¿ÉÒÔ´«²¥Õâ¸öÎļþ¸ø±ðÈË£¬±ðÈËÈç¹ûÐÞ¸ÄÁËÎļþÖеÄÈκÎÄÚÈÝ£¬Äã¶ÔÕâ¸öÎļþÖØмÆËãMD5ʱ¾Í»á·¢ÏÖ¡£Èç¹ûÔÙÓÐÒ»¸öµÚÈý·½µÄÈÏÖ¤»ú¹¹£¬ÓÃMD5»¹¿ÉÒÔ·ÀÖ¹Îļþ×÷ÕßµÄ"µÖÀµ"£¬Õâ¾ÍÊÇËùνµÄÊý×ÖÇ©ÃûÓ¦Óá£
MD5»¹¹ã·ºÓÃÓÚ¼ÓÃܺͽâÃܼ¼ÊõÉÏ£¬Ôںܶà²Ù×÷ϵͳÖУ¬Óû§µÄÃÜÂëÊÇÒÔMD5Öµ£¨»òÀàËƵÄÆäËüËã·¨£©µÄ·½Ê½±£´æµÄ£¬Óû§LoginµÄʱºò£¬ÏµÍ³ÊÇ°ÑÓû§ÊäÈëµÄÃÜÂë¼ÆËã³ÉMD5Öµ£¬È»ºóÔÙÈ¥ºÍϵͳÖб£´æµÄMD5Öµ½øÐбȽϣ¬¶øϵͳ²¢²»"ÖªµÀ"Óû§µÄÃÜÂëÊÇʲô¡£
һЩºÚ¿ÍÆÆ»ñÕâÖÖÃÜÂëµÄ·½·¨ÊÇÒ»ÖÖ±»³ÆΪ"ÅÜ×Öµä"µÄ·½·¨¡£ÓÐÁ½ÖÖ·½·¨µÃµ½×ֵ䣬һÖÖÊÇÈÕ³£ËѼ¯µÄÓÃ×öÃÜÂëµÄ×Ö·û´®±í£¬ÁíÒ»ÖÖÊÇÓÃÅÅÁÐ×éºÏ·½·¨Éú³ÉµÄ£¬ÏÈÓÃMD5³ÌÐò¼ÆËã³öÕâЩ×ÖµäÏîµÄMD5Öµ£¬È»ºóÔÙÓÃÄ¿±êµÄMD5ÖµÔÚÕâ¸ö×ÖµäÖмìË÷¡£
¼´Ê¹¼ÙÉèÃÜÂëµÄ×î´ó³¤¶ÈΪ8£¬Í¬Ê±ÃÜÂëÖ»ÄÜÊÇ×ÖĸºÍÊý×Ö£¬¹²26+26+10=62¸ö×Ö·û£¬ÅÅÁÐ×éºÏ³öµÄ×ÖµäµÄÏîÊýÔòÊÇP(62,1)+P(62,2)....+P(62,8)£¬ÄÇÒ²ÒѾÊÇÒ»¸öºÜÌìÎĵÄÊý×ÖÁË£¬´æ´¢Õâ¸ö×Öµä¾ÍÐèÒªTB¼¶µÄ´ÅÅÌ×飬¶øÇÒÕâÖÖ·½·¨»¹ÓÐÒ»¸öÇ°Ìᣬ¾ÍÊÇÄÜ»ñµÃÄ¿±êÕË»§µÄÃÜÂëMD5ÖµµÄÇé¿öϲſÉÒÔ¡£
Ôںܶàµç×ÓÉÌÎñºÍÉçÇøÓ¦ÓÃÖ
Ïà¹ØÎĵµ£º
JavaÐéÄâ»úµÄÆðÔ´Óë¹¹Ôì
µ±ÎÒÃÇ˵µ½“Java”Õâ¸ö´ÊµÄʱºò£¬Ö¸µÄÊÇËĸöÏ໥¹ØÁªµÄ¸ÅÄJavaÓïÑÔ¡¢Java API¡¢Java ClassÎļþ¸ñʽ¡¢JavaÐéÄâ»ú¡£Õû¸öJavaÌåϵÊÇ»ùÓÚJava ÐéÄâ»ú¹¹ÔìµÄ£¬ÕýÒòΪÈç´Ë£¬²ÅÄÜʵÏÖJavaµÄ°²È«ÐÔºÍÍøÂçÒƶ¯ÐÔ¡£Java²¢·ÇÊǵÚÒ»¸ö²ÉÓÓÐéÄâ»ú”¸ÅÄîµÄÌåϵ£¬µ«È´ÊǵÚÒ»¸öµÃµ½¹ã·ºÔ ......
http://www.sdau.edu.cn/support/html/java03.htm
1.3 ¼ò µ¥ µÄ Java³Ì Ðò
Ï Ãæ ÎÒ ÃÇ ÏÈ ½é ÉÜ Á½ ¸ö ¼ò µ¥ µÄ Java³Ì Ðò ,²¢ ¶Ô Æä ½ø ÐÐ ·Ö Îö¡£
Àý 1.1.
public class HelloWorldApp { //an application
public static void main (String args[ ]){
System.out.println("Hello World!");
}
}
± ......
ÓÉÓÚFlex Builder compiler shellÓÐmemory leakµÄÎÊÌ⣬ ¶øSDKĬÈÏµÄµÄ JVM heap size Ö»ÓÐ312M£¬µ±compile±È½Ï´óµÄprojectÈÝÒײ»¹»£¬ËùÒÔÖ»ÒªÐÞ¸ÄSDKµÄJVM²ÎÊý¾Í¿ÉÒÔ¡£
±à¼ {Flex SDK}/bin/jvm.config ÎļþÈçÏ¡£
java.args=-Xmx512m ...
Èç¹û»¹ÊÇÓÐError£¬¿ÉÒÔÔö¼Óµ½1024»òÕ߸ü¶à¡£ ......
Java Class Attribute Type Hibernate Type Possible SQL Type-Vendor Specific
Integer, int, long short &n ......