<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # package sha1 `import "crypto/sha1"` sha1包實現了SHA1哈希算法,參見[RFC 3174](http://tools.ietf.org/html/rfc3174)。 ## Index * [Constants](#pkg-constants) * [func Sum(data []byte) [Size]byte](#Sum) * [func New() hash.Hash](#New) ### Examples * [New](#example-New) * [Sum](#example-Sum) ## Constants ``` const BlockSize = 64 ``` SHA1的塊大小。 ``` const Size = 20 ``` SHA1校驗和的字節數。 ## func [Sum](https://github.com/golang/go/blob/master/src/crypto/sha1/sha1.go#L125 "View Source") ``` func Sum(data []byte) [Size]byte ``` 返回數據data的SHA1校驗和。 Example ``` data := []byte("This page intentionally left blank.") fmt.Printf("% x", sha1.Sum(data)) ``` Output: ``` af 06 49 23 bb f2 30 15 96 aa c4 c2 73 ba 32 17 8e bc 4a 96 ``` ## func [New](https://github.com/golang/go/blob/master/src/crypto/sha1/sha1.go#L51 "View Source") ``` func New() hash.Hash ``` 返回一個新的使用SHA1校驗的hash.Hash接口。 Example ``` h := sha1.New() io.WriteString(h, "His money is twice tainted:") io.WriteString(h, " 'taint yours and 'taint mine.") fmt.Printf("% x", h.Sum(nil)) ``` Output: ``` 59 7f 6a 54 00 10 f9 4c 15 d7 18 06 a9 9a 2c 87 10 e7 47 bd ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看