Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. android/guava/src/com/google/common/collect/HashMultiset.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Multiset implementation that uses hashing for key and entry access.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>hashFunctionEnum: The {@link HashFunction} to use for hashing.
     * </ul>
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashFunctionBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>hashFunctionEnum: The {@link HashFunction} to use for hashing.
     * </ul>
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashFunctionBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .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)
Back to Top