Tuesday, September 14, 2010

The basic principles of SSL


0 Introduction

Three years ago, my company has established and suppliers B2B e-commerce sites, I participate in this project to understand the network traffic encryption and SSL-related knowledge. With my knowledge and understanding of e-commerce continued to deepen, with the current continual emergence of various e-commerce platform, I stepped up on the SSL's learning and understanding. This will combine to present my understanding of the basic principles of SSL, considering most of those who read this article for the security and encryption has some understanding and awareness of this paper is as follows:

1 first introduced the SSL communication diagram, relevant background knowledge of network security people can read about the plan's basic principles of SSL.

2 on the SSL communication on the diagram to explain the text and description here will involve a number of encryption and security terms, so people who read for understanding this can be encrypted.

3 on some of the terminology involved a brief presentation and explanation, the need to understand the terminology of some encryption can be used as a brief reference to the reader.

The purpose of this paper is to explain in concise summary SSL principle, the need for readers to learn more about SSL theory can further read the relevant books and papers.

1 SSL communication diagram

SSL communication diagram shown in Figure 1:




2 SSL communications description

In this section, the schematic shown in Figure 1 will be explained. To illustrate the convenience of the client in this paper that for the B, the server side for the S.

STEP 1: B -> S (initiated dialogue, consultation transmission encryption algorithm)

Hi, S! I want you to security dialogue, my symmetric encryption algorithms are DES, RC5, I have RSA key exchange algorithm and DH, with MD5 digest algorithm and the SHA.

STEP2: S -> B (sending server digital certificate)

Hello, B! Then we use DES-RSA-SHA This combination of communication, in order to prove I was indeed S, now send me the digital certificate to you, you can verify my identity.

STEP 3: B -> S (send this dialogue of the key)

(Check S's digital certificate is correct, the certificate issued by CA agencies verify the validity of S after the real certificate. Generated by using S's public key encryption key to send this dialogue to the S)

S, I have confirmed your identity, now we have this communication in the symmetric key encryption algorithm to send to you.

STEP4: S -> B (for key)

(S to obtain their private key to decrypt the key in this newsletter).

B, I have access to the keys. We can start correspondence.

STEP5: S <-> B (for communication)

Note: In general, when B is confidential information during transmission by, B does not require digital certificates verify the authenticity of his or her identity, such as e-banking application, customers need to send your account number and password to the bank, the banks of the Fu Wuqi need to install the digital certificate to show the effectiveness of their own identity. In some B2B applications, server-side also needs to verify the identity of the client, then the client also need to install a digital certificate to ensure communication when the server can identify a client's identity, the identity verification process is similar to server authentication process.

Also need to note that in some e-commerce applications, may also be used to e-signatures, or to more secure information exchange, will increase the electronic signature and message check code (MAC).



3 describes the knowledge

With the continuous development of e-commerce, SSL protocol has been more widely used. SSL protocol is between the HTTP protocol and an optional layer between the TCP can be expressed as




Here we have an example to explain the how the SSL protocol to access the secure website, if we buy in the online game cards in the game click on the payment page, we will enter the following interface:



Then we note that in the browser's address bar begins with HTTPS rather than HTTP, the browser's bottom right corner there is a lock, indicating SSL encrypted channel has been established. As layer in the process of HTTP request into a first HTTP request, then SSL TCP and IP layer by layer to achieve the browser and server handshake (HANDSHAKE), the server level access to the key, the last TCP layer of encryption between the server channel to achieve the objective of both sides to exchange information security.

In order to facilitate understanding of SSL, the following information in a brief overview of encryption-related knowledge. Encrypted information using the key type of encryption algorithm can be divided into the following categories: HASH coding, symmetric encryption and asymmetric encryption categories.

HASH HASH algorithm coding is to use the length of the message from any calculation of the value of a process HASH, HASH value can be said that the fingerprint information, as any different messages, almost always have different values HASH. Therefore, in the process of SSL communications, messages can be encrypted HASH value to ensure the delivery of the message has not been altered during transmission.

Called public key encryption or asymmetric encryption uses two mathematically related values to encode the information (encrypted), in which a number called the public key, and the other called the private key. Public key encryption private key can decrypt the information, private key encryption public key can decrypt the information. As the public key can be issued a large area, so public-key encryption in the SSL encrypted communication used on the encryption keys or digital signatures.

Symmetric encryption and asymmetric encryption is the difference compared to symmetric encryption, the encrypted information and decrypt information using the same key, so the key can not open. But it has the encryption, decryption rapid.

In SSL communication, the first non-symmetric encryption exchange of information, so the server provides browser access to the symmetric encryption key, and then communicate using the key information in the process of encryption and decryption. To ensure the message has not been tampered with during transmission can be encrypted HASH code to ensure the integrity of information.

Server digital certificate issued to the main Web site or other server requires a secure identification to prove identity of the server information, the same client-side digital certificates used to prove the identity of the client. In Guangdong Electronic Certification Authority Web site, you can see all the digital certificates issued by the agency detailed description of the function.






Recommended links:



ps3 Flv



wmv ps3



Matroska video



online wav to mp3 converter



Wednesday, August 4, 2010

Toshiba to pay for dedicated HD-DVD format, Paramount has been criticized



August 27, according to foreign reports, Paramount Pictures and DreamWorks Animation company received 150 million U.S. dollars to encourage their money do not use Blu-ray technology. Blu-ray founders were severely criticized this practice.

It is reported that Toshiba and other HD-DVD supporter Paramount to pay for the specialized production of HD-DVD format, content.

Including Sony Pictures, Disney, Fox and MGM, including a number of Hollywood studios to use only Blu-ray format. Warner Bros. still use both formats. The Universal (Universal) the film company, now Paramount, will only use the HD-DVD format.

Founder Erick Hansen says Blu-ray technology, Toshiba and HD-DVD offer than the transactions because they desperate. The public has chosen Blu-ray technology. Blu-ray and HD-DVD this year, sales ratio is 2 to 1.

Hansen said that for retailers, this is like a DVD in the public choice after forced to save up VHS tapes. For consumers, this will transition the industry to create more high-definition confusion. He pointed out, DVD Blockbuster and major retailers, Target will only be able to Blu-ray products stored on the shelf.

Hansen asked Paramount to accept the money can get? If Steven Spielberg and Michael Bay and other directors have billions of dollars to support Blu-ray technology, then the deal is a double-edged sword.

Spielberg's film company not included in the Paramount and DreamWorks Animation's deal, the two formats will continue to sell products. The Bay in their own Web site said in a statement he issued only HD-DVD format, "Transformers I" and "Transformers II" dissatisfied.

Hansen said that, I told them this than the transaction were not surprised. However, the deal is like paying them not to plant crops as they are. If they accept this little money to prevent the growth of Blu-ray, the film industry to continue to the next generation of technology?








Recommended links:



"Wall Street Journal": out Of mouse traps



Giant Imperial Shi Yuzhu set foot on "the journey"



Guide Games Sports



youtube to MPG



Expert Games Card



Ape files



Shady Operators Battles Executives Jie Mi



For Unix Terminal As The User Moving



mkv video Format



[Aion] Korean Clothing And Equipment Leveling Frenzy 1.2 Perfect



Comparison Graphic Editors



Photoshop pumping effect of the new line Of thinking



Paladin 4 solved the copy protection



251 hospitals and Receive paperless



Converting Mp3 To Aac



Monday, July 26, 2010

Photoshop mouse painted illustration major combat (3): Draw Butterfly


Section III: Butterfly Drawing
63, to open a file for the new butterfly wings it. Pen sketch of a butterfly wings (if not allowed to grasp, it is recommended to use reference chart), as shown.



64, converted into constituencies, padding is black, then the new layer, outline the scope of butterfly wings internal color, first fill of white. Since then a new layer in preparation for painting the wings of the skeleton.



65, a skeleton with a pen to sketch out some of what? Pen to outline the line does not automatically end? Under the second point and press ESC, the line will end this paragraph. Figure distribution.



66, those skeleton only path, the path. To become a line. Select brush tool, select an ordinary brush, the size of 2px.



67, the path panel, select the path with the current brush painted. Can see that skeleton out.



68, select the upper part of the original is white, used yellow gradient.



69, the same treatment the rest of the initial Shanghao wing color.



70, the skeleton copy layer.



71, will copy the good white skeleton RP changes, as shown.



72, to the Gaussian blur ~ can see the light of the transition effects.



73, more layers can be replicated to enhance the effect.



74, the framework that combined several layers of white, mixed-mode stack to adjust, and then make a black frame is not hidden, the effect is as follows.



75, began painting the white spots on their wings.



76, see the distribution of spots.

77, filling a good white effects shown.



78, and the background to hide, merge copy the entire wing.

79, pulls the main background. Course to transform the.



80, the initial transformation, and then copy the multi-layer, forming a pair.



81, the front wings with masks, then brush (remember the lower the opacity of the brush) brush with a few, faintly translucent wings arises.



82, with a pen to outline the butterfly body, check the back of the stomach, adjust the color to distinguish between the chest and abdominal (insects in three parts: head, thorax, abdomen).






[Next]



83, the top elected body by the smooth, extremely important to remember the emergence action!



84, HSB go again ... ... I remember the same time increase the brightness to increase saturation, so the color will not gray, but appear bright, colorful.



86, with a pen to outline the stomach of the stripes, and then into constituencies and emergence, and then adjust the hue, good effect, and Figure.



87, Butterfly add a shadow below to see results.



88, the head drawn with a round black piece, now painted with a pen shape antenna.



89, fill in more than a black copy, see the effect.



90, the same drawing feet. With six in the chest (right? Entomologists do not hit me, huh, huh)



91, again the effect. Shadow abrupt point.

92, according to the direction of light, the shadow of the thumb piece of that piece should not be like projection. Amplified the changes!

93, adjust the thumb of color, will reduce shadows.



94, complete the drawing! Now we have to do post-processing: the effect of creating depth of field.

Select the entire canvas, press CTRL + SHIFT + C to copy the entire screen merge.



95, the same size to create a new document, paste, and copy the new layer, then layer the larger the new Gaussian Blur, then hides.



96, then the bottom of the screen and then copy the new layer on top of the screen placed in the clear.



97, on which a small degree of Gaussian blur, plus mask.



98, on the black and white radial gradient mask, butterfly center, look, the initial depth of field simulation results have emerged, butterfly is clear, while other parts of the vaguer and vaguer.



Click on the picture to enlarge

99, the same deal with the largest layer fuzzy head. However, to increase the radius of the gradient.



100, to see two fuzzy Mask What is the difference between it. This operation is similar steps to simulate the lens focal point, clearly, other features blurred, in general, blurring will produce different changes with distance. This two-story, on the simulation of this effect. Of course, if you really want to study, close to the truth is not possible ... ...



101, and finally add the title to complete the effect!



Click thumbnail for larger view

Tutorial Electric.






Recommended links:



Email Will Be Transferred To Other Mailboxes In Gmail



Password Managers evaluation



Mkv video format



Charles Zhang: Sohu Is Looking For The Next Opponent



avi To mpeg



ape Files



youtube video format



PS Production pearl necklace



Job 10 kinds of unhealthy Attitude towards students



Eight high-risk incident RESPONSE IDS



"Mom" To Baidu Was "angry"



How To Quick Cash Flow Statement The Two Main Forms



In 2006, China CMM / CMMI Consulting Agency Announced The Top Five



Investment Tools For You



Wednesday, July 21, 2010

Fuji Xerox said the statement did not mention smuggling only contract dispute with the facts


(Xinhua Zhang Xu) Yesterday, a media Baoliao said "there are significant smuggling suspects Fuji Xerox", and listed companies and customs from the "evidence." In this regard, Fuji Xerox issued a statement last night did not mention the alleged smuggling matter, and that "disputes regarding the contract amount with the facts."
Yesterday, media reports said, "from last week, Fuji Xerox in China, several large customers have to the local customs, industry and commerce department report accused Fuji Xerox Co., Ltd. Shanghai Industrial Development 顥?there are significant smuggling suspects. The company Fuji Xerox 顥?China Limited in Shanghai Waigaoqiao Free Trade Zone registered a 100% owned subsidiary. "the report said," from the customs of the relevant evidence, that there are significant Fuji Xerox suspected of smuggling. "

Last night, Fuji Xerox (China) Co., Ltd. sent a statement to the newspaper, "has a very small number of media, without knowing the truth of the case, our wholly owned subsidiary of Fuji Xerox Industry Development (Shanghai) Co., Ltd. Computer printing Co., Ltd. and Shanghai disputes regarding the contract payment is not made to the real situation of the report "," At present, the individual's relevant media reports were unfounded. "and said," as Bao Zheng case to a just decision, Genju the provides that the parties during the proceedings, the Company is not convenient to make any comment on the matter. "In addition, it failed to comment on other content.

For Fuji Xerox mentioned contract with the Shanghai Computer Print Ltd regarding the payment dispute, a media report quoted a letter which said: "Since June 2000, the company gradually bought from Fuji Xerox, valued at more than 2000 million element of the device, place of origin are in Japan. complaint letters to say, for example, DT6135 high-speed black and white printing system 顥?with a copy function, in accordance with customs regulations should be declared as a copier or printer, but Xerox has launched its customs tariffs to zero laser printer, a machine at least close to 45 thousand yuan of tax evasion rate of 9% 顥? the declared value of about 50 million, Fuji Xerox has imported hundreds of such machines. other, such as DC2060, DC8000 and other color printing, Fuji Xerox also by This method declaration. "








相关链接:



flac to mp3 converter free



BenQ "tails" Of The Pain Of Expensive School Fees Of The Three Active Role



Happiness iPhone 3GPP2 Deconde



Pa III trial Jinshan Film Notes



Easy Hobby



Call ChooseColor function in PowerBuilder



Bliss CDA Music APE To M4P Editor



Reviews Games Sports



Format mkv



SuperBurner YouTube To IPhone



m4v file



Wizard Newsgroup Clients



Youtube Video to iphone Today



Christmas-Idea Flash To IPod MOV



Format ts



Some live for BI to! But Mo take BI as "the Bible"



Hot GENEALOGY



Saturday, July 3, 2010

Youtube Movie to Psion Top Rated

Hot popluar youtube video Converter + download + player tool. With YouTube tool you can also convert downloaded YouTube videos to a format compatible with your favorite portable device; including - iPod Video, iPod Touch, iPod Nano, iPhone, Zune, PSP, as well as video capable MP3 players, video capable mobile phones, and Pocket PC, And finally... YouTube tool's embedded player will allow you to watch all your favorite YouTube videos off-line. So now you can enjoy any .flv and .swf videos anytime!
Easily Convert all popular video formats. Provides the highest speed to download YouTube video. Support unlimited simultaneous downloading tasks. Supports auto-name your downloaded video title as the YoutTube page shows. Offers you the most convenient task management and the easiest control capability. About Conversion Features. - is the most powerful YouTube assistant on the planet.



Recommand Link:



Youtube FLV to Blackberry Help



AVANTRIX CD-DVD Writer



Best Search Or Lookup Tools



Swift VCD VOB DAT to Mobile



Happiness CD-R M4P Midi to AC3 Manager



HD to ZEN X-Fi software



Recommend Dial UP And Connection Tools



AlltoDVD YouTube to iPod



Themes And Wallpaper Brief



Flv



ValeSoft Ultimate Video Converter



Download video to iAudio 9 soft



ImTOO Xbox Converter



Thursday, June 24, 2010

SuperBurner DAT Converter

SuperBurner DAT Converter - A fast DAT video to DVD VOB Video converter which can convert and burn DAT, AVI, MPG, MPEG 1/2/4, WMV, MOV, MP4, RM, RMVB, DivX, Xvid, ASF, 3GP, Youtube FLV to DVD VOB VCD SVCD easily. With this DVD VCD SVCD converter, you will know how to make a DVD video. You can use it to convert and burn DivX, Xvid, AVI, MPG, MPEG 1/2/4, WMV, MOV, MP4, RM, RMVB files to DVD with chapter Menu. With that, you can convert downloaded videos and burn files into DVD, which means Internet become the storehouse of your home theater! Get Free download now!

SuperBurner DAT Converter - What a powerful and attractive DAT, AVI, MPG, MPEG 1/2/4, WMV, MOV, MP4, RM, RMVB, DivX, Xvid, ASF, 3GP, Youtube FLV to Video converter. This software can burn DivX to DVD and convert DivX to VOB and finish all your tasks with the fastest speed possible and the best quality available. No one will ask how to make a DVD video anymore once they try this great DivX to VOB converter. We highly recommend this program because we think it will make your multimedia life a lot easier and more enjoyable. It allows you to specify NTSC or PAL format, adjust 4:3 or 16:9 video aspect, and burn either DVD disc or ISO file. By setting bitrate and framerate, you can get excellent quality on TV screen. Just free download and enjoy it right now!



Recommand Link:



Youtube Video to Cell Phone Application



Converting video to iRiver P7



Easy Help Tools



Youtube FLV To 3GP Ultra



Good Recreation



Youtube Video Saveing + Converter Box



Youtube Movie to RM Program



1st IPhone Transfer



Movavi Video Converter Platinum



WONDERSHARE Video to DVD Burner



Youtube FLV TO VHS Value



Investment Tools For You



live messenger presence button not working



Friday, June 18, 2010

Bluesea CD AAC WAV to CDA Recorder

Bluesea CD AAC WAV to CDA Recorder - With Bluesea CD AAC WAV to CDA Recorder you can save audio files in any of the supported formats (can also save any portion of a loaded file to disk as a new file). With Bluesea CD AAC WAV to CDA Recorder you can edit audio files visually (Cut, Copy, Delete Selection, Crop, Trim, Paste, Paste From File, Mix, Mix From File). This audio file conversion software is a sound file format converter for Windows or Mac. It can convert audio files from many different file formats into mp3, wav or wma files including wav to mp3, mp3 to wav, wma to mp3 and much more (eg. CD, CDA, CD-R, DVD-Audio, AAC, AC3, ID3, M3U, M4A, M4P, MP3 ID3 Tag, OGG, RA, WAV, WMA, MP2, APE, VQF, MPC, AMR, Midi, WAVE, and RM). This audio file converter is very easy to use. Just add the files you want to convert to the list, select the format you want to use, and then click the convert button. Now start converting!