Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 352 for Hashing (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/collect/HashingTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Hashing.smear;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /** Tests for {@code Hashing}. */
    @GwtCompatible
    @NullMarked
    public class HashingTest extends TestCase {
      public void testSmear() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/HashingTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Hashing.smear;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /** Tests for {@code Hashing}. */
    @GwtCompatible
    @NullMarked
    public class HashingTest extends TestCase {
      public void testSmear() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    更多內容可參考 [PyJWT 安裝文件](https://pyjwt.readthedocs.io/en/latest/installation.html)。
    
    ///
    
    ## 密碼雜湊 { #password-hashing }
    
    「雜湊」是指把某些內容(此處為密碼)轉換成一串看起來像亂碼的位元組序列(其實就是字串)。
    
    每當你輸入完全相同的內容(完全相同的密碼),就會得到完全相同的亂碼。
    
    但你無法從這串亂碼再反推回原本的密碼。
    
    ### 為什麼要用密碼雜湊 { #why-use-password-hashing }
    
    如果你的資料庫被偷了,竊賊拿到的不是使用者的明文密碼,而只是雜湊值。
    
    因此,竊賊無法直接拿該密碼去嘗試登入其他系統(由於許多使用者在各處都用同一組密碼,這會很危險)。
    
    ## 安裝 `pwdlib` { #install-pwdlib }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/security/oauth2-jwt.md

    可以在 [PyJWT 安装文档](https://pyjwt.readthedocs.io/en/latest/installation.html)中了解更多。
    
    ///
    
    ## 密码哈希 { #password-hashing }
    
    “哈希”是指把一些内容(这里是密码)转换成看起来像乱码的一串字节(其实就是字符串)。
    
    当你每次传入完全相同的内容(完全相同的密码)时,都会得到完全相同的“乱码”。
    
    但你无法从这个“乱码”反向还原出密码。
    
    ### 为什么使用密码哈希 { #why-use-password-hashing }
    
    如果你的数据库被盗,窃贼拿到的不会是用户的明文密码,而只是哈希值。
    
    因此,窃贼无法把该密码拿去尝试登录另一个系统(很多用户在各处都用相同的密码,这将非常危险)。
    
    ## 安装 `pwdlib` { #install-pwdlib }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmarks for the hashing of UTF-8 strings. */
    @NullUnmarked
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/Fingerprint2011.java

    import static java.lang.Long.rotateRight;
    
    import com.google.common.annotations.VisibleForTesting;
    
    /**
     * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011}
     * for information on the behaviour of the algorithm.
     *
     * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. .teamcity/subprojects.json

        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "hashing",
        "path": "platforms/core-execution/hashing",
        "unitTests": true,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "hashing-services",
        "path": "platforms/core-execution/hashing-services",
        "unitTests": true,
        "functionalTests": false,
        "crossVersionTests": false
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 15:03:00 GMT 2026
    - 42K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/security/simple-oauth2.md

    接下来,首先将数据放入 Pydantic 的 `UserInDB` 模型。
    
    注意:永远不要保存明文密码,本例暂时先使用(伪)哈希密码系统。
    
    如果密码不匹配,则返回与上面相同的错误。
    
    #### 密码哈希 { #password-hashing }
    
    **哈希**是指,将指定内容(本例中为密码)转换为形似乱码的字节序列(其实就是字符串)。
    
    每次传入完全相同的内容(比如,完全相同的密码)时,得到的都是完全相同的乱码。
    
    但这个乱码无法转换回传入的密码。
    
    ##### 为什么使用密码哈希 { #why-use-password-hashing }
    
    原因很简单,假如数据库被盗,窃贼无法获取用户的明文密码,得到的只是哈希值。
    
    这样一来,窃贼就无法在其它应用中使用窃取的密码,要知道,很多用户在所有系统中都使用相同的密码,风险超大。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractMultimap.java

        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
       * Returns the hash code for this multimap.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

    import com.google.common.annotations.VisibleForTesting;
    
    /**
     * Implementation of FarmHash Fingerprint64, an open-source fingerprinting algorithm for strings.
     *
     * <p>Its speed is comparable to CityHash64, and its quality of hashing is at least as good.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
     * to unsigned arithmetic in all cases except:
     *
     * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top