【问题标题】:What's the difference between none and null CipherAlgorithmType?none 和 null CipherAlgorithmType 有什么区别?
【发布时间】:2017-10-22 02:03:06
【问题描述】:

.net Framework SSL 流实现具有属性CipherAlgorithm,类型为CipherAlgorithmType。此枚举包括NoneNull。这两个值有什么区别?

从文档中我看不出区别:

None: 没有使用加密算法。

Null: Null 密码算法不使用加密。

【问题讨论】:

    标签: .net ssl encryption


    【解决方案1】:

    “CipherAlgorithmType”类型

    CipherAlgorithmType
    

    无:不使用加密算法:

    当类型设置为“无”时,明文将不使用任何加密,如下例所示。它将使用任何其他算法正常加密数据。

    Null:Null 密码算法不使用加密。

    空密码,也称为隐藏密码,是一种古老的 明文与大量信息混合的加密 非密码材料。

    在空密码中,明文包含在密文中,需要丢弃某些字符才能解密消息。

    【讨论】:

      猜你喜欢
      • 2014-02-23
      • 2023-03-17
      • 2011-02-14
      • 1970-01-01
      • 2011-04-16
      • 2016-12-23
      • 2011-06-24
      相关资源
      最近更新 更多