<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # package subtle `import "crypto/subtle"` Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. ## Index * [func ConstantTimeByteEq(x, y uint8) int](#ConstantTimeByteEq) * [func ConstantTimeEq(x, y int32) int](#ConstantTimeEq) * [func ConstantTimeLessOrEq(x, y int) int](#ConstantTimeLessOrEq) * [func ConstantTimeCompare(x, y []byte) int](#ConstantTimeCompare) * [func ConstantTimeCopy(v int, x, y []byte)](#ConstantTimeCopy) * [func ConstantTimeSelect(v, x, y int) int](#ConstantTimeSelect) ## func [ConstantTimeByteEq](https://github.com/golang/go/blob/master/src/crypto/subtle/constant_time.go#L31 "View Source") ``` func ConstantTimeByteEq(x, y uint8) int ``` 如果x == y返回1,否則返回0。 ## func [ConstantTimeEq](https://github.com/golang/go/blob/master/src/crypto/subtle/constant_time.go#L41 "View Source") ``` func ConstantTimeEq(x, y int32) int ``` 如果x == y返回1,否則返回0。 ## func [ConstantTimeLessOrEq](https://github.com/golang/go/blob/master/src/crypto/subtle/constant_time.go#L70 "View Source") ``` func ConstantTimeLessOrEq(x, y int) int ``` 如果x &lt;= y返回1,否則返回0;如果x或y為負數,或者大于2\*\*31-1,函數行為是未定義的。 ## func [ConstantTimeCompare](https://github.com/golang/go/blob/master/src/crypto/subtle/constant_time.go#L12 "View Source") ``` func ConstantTimeCompare(x, y []byte) int ``` 如果x、y的長度和內容都相同返回1;否則返回0。消耗的時間正比于切片長度而與內容無關。 ## func [ConstantTimeCopy](https://github.com/golang/go/blob/master/src/crypto/subtle/constant_time.go#L55 "View Source") ``` func ConstantTimeCopy(v int, x, y []byte) ``` 如果v == 1,則將y的內容拷貝到x;如果v == 0,x不作修改;其他情況的行為是未定義并應避免的。 ## func [ConstantTimeSelect](https://github.com/golang/go/blob/master/src/crypto/subtle/constant_time.go#L28 "View Source") ``` func ConstantTimeSelect(v, x, y int) int ``` 如果v == 1,返回x;如果v == 0,返回y;其他情況的行為是未定義并應避免的。
                  <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>

                              哎呀哎呀视频在线观看