OUTLOOK View certificates

Outlook uses certificates in cryptographic email messaging to help keep communications secure. You can view your own certificates or those that you receive in email messages.

View your certificates
On the File tab, click Options.
In the left pane, click Trust Center.
In the right pane click Trust Center Settings.
In the left pane, click Email Security.
Under Encrypted e-mail, click Settings.
Under Certificates and Algorithms, click Choose.
Click the certificate that you want, and then click View Certificate.

View certificates on received messages

In the email message, click Digital signature icon or Encryption icon on the Signed By line.
Click Details.
Click Signer or Encryption Layer, and then click View Details.
To see details about the certificate, click View Certificate.

How Do I Install a Secure Email Certificate in My Outlook?


MD5 Hash Generator

md5的java 实现
刘瑞武 2022-3-28 Monday

// 刘瑞武
//file name
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

public class md5 {
    private static final Charset UTF_8 = StandardCharsets.UTF_8;
    private static final String OUTPUT_FORMAT = "%-20s:%s";
    private static byte[] digest(byte[] input) {
        MessageDigest md;
        try {
            md = MessageDigest.getInstance("MD5");
        } catch (NoSuchAlgorithmException e) {
            throw new IllegalArgumentException(e);
        byte[] result = md.digest(input);
        return result;

    private static String bytesToHex(byte[] bytes) {
        StringBuilder sb = new StringBuilder();
        for (byte b : bytes) {
            sb.append(String.format("%02x", b));
        return sb.toString();

    public static void main(String[] args) {
        String pText = "Hello World!"; // <-----input String here :)
        System.out.println(String.format(OUTPUT_FORMAT, "Input (string)", pText));
        System.out.println(String.format(OUTPUT_FORMAT, "Input (length)", pText.length()));
        byte[] md5InBytes = md5.digest(pText.getBytes(UTF_8));
        System.out.println(String.format(OUTPUT_FORMAT, "MD5 (hex) ", bytesToHex(md5InBytes)));
        // fixed length, 16 bytes, 128 bits.
        System.out.println(String.format(OUTPUT_FORMAT, "MD5 (length)", md5InBytes.length));


//Input (string)      :Hello World!
//Input (length)      :12
//MD5 (hex)           :ed076287532e86365e841e92bfc50d8c
//MD5 (length)        :16

MD5信息摘要算法 (MD5 Message-Digest Algorithm),一种被广泛使用的密码散列函数,可以产生出一个128位(16字节)的散列值(hash value),用于确保信息传输完整一致。MD5由美国密码学家罗纳德·李维斯特(Ronald Linn Rivest)设计,于1992年公开

What is MD5?
MD5 (message-digest algorithm) is a cryptographic protocol used for authenticating messages as well as content verification and digital signatures. MD5 is based on a hash function that verifies that a file you sent matches the file received by the person you sent it to. Previously, MD5 was used for data encryption, but now it’s used primarily for authentication.

How does MD5 work?
MD5 runs entire files through a mathematical hashing algorithm to generate a signature that can be matched with an original file. That way, a received file can be authenticated as matching the original file that was sent, ensuring that the right files get where they need to go.

The MD5 hashing algorithm converts data into a string of 32 characters. For example, the word “NUFE” always generates this hash: "87dca1d6afa75915454d0e32c0fc3868". Similarly, a file of 1.2 GB also generates a hash with the same number of characters. When you send that file to someone, their computer authenticates its hash to ensure it matches the one you sent.

If you change just one bit in a file, no matter how large the file is, the hash output will be completely and irreversibly changed. Nothing less than an exact copy will pass the MD5 test.

win7 iis应用的步骤 :安装、运行、添加Web/FTP、防火墙设置;发布

windows 7安装iis 的过程
Installing IIS 7 on  Windows 7
1. To open the 【Windows Features】 dialog box, click 【Start】, and then click 【Control Panel】.
2. In the 【Control Panel】, click 【Programs】.
3. Click 【Turn Windows features 】on or off.
4. You may receive the Windows Security warning. Click 【Allow】 to continue. The 【Windows Features】 dialog box is displayed.
5. Expand 【Internet Information Services】.Additional categories of IIS features are displayed. Select 【Internet Information Services 】to choose the default features for installation.

6. Expand the additional categories displayed, and select any additional features you want to install, such as 【Web Management Tools】.

7. If you are installing IIS for evaluation purposes, you may want to select additional features to install. Select the check boxes for all IIS features you want to install, and then click [OK] to start installation.

8. The progress indicator appears.
9. When the installation completes, the Windows Features dialog box closes, and the [Control Panel] is displayed.
10. IIS is now installed with a default configuration on Windows Vista or Windows 7. To confirm that the installation succeeded, type the following URL into your browser, http://localhost

11.Next, you can use Internet Information Services Manager to manage and configure IIS. To open IIS Manager, click [Start], type inetmgr in the [Search Programs and Files box], and then press [ENTER].


To add a website by using the UI
*Open IIS Manager.

*In the Add Website dialog box, enter a friendly name for your website in the Site name box.

*If you want to select a different application pool than the one listed in the Application Pool box, click Select. In the Select Application Pool dialog box, select an application pool from the Application Pool list and then click OK.

*In the Physical path box, enter the physical path of the website's folder, or click the browse button (...) to navigate the file system to find the folder.

*If the physical path that you entered in the previous step is to a remote share, click Connect as to specify credentials that have permission to access the path. If you do not use specific credentials, select the Application user (pass-through authentication) option in the Connect As dialog box.

*Select the protocol for the website from the Type list.

* If you must specify a static IP address for the website (by default, this is set to All Unassigned), enter the IP address in the IP address box.

*Enter a port number in the Port text box.

*Optionally, enter a host header name for the website in the Host Header box.

*If you do not have to make any changes to the site, and you want the website to be immediately available, select the Start Web site immediately check box.

*Click OK.
3. 防火墙设置:本地iis发布到 internet

命令行输入 ipconfig 显示发布ip,在地址栏用ip地址代替 localhost



Cookies 应用案例

[本日志由 liurw 于 2022-04-12 06:07 PM 更新]
上一篇: Apple TV使用笔记
下一篇: 【转载】What are Cookies?
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
评论: 0 | 引用: 0 | 查看次数: 1734
XHTML 1.0 Transitional Css Validator RSS 2.0 Atom 1.0 Get firefox Creative Commons