- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 260 for hashKey (0.05 sec)
-
cmd/erasure-sets_test.go
// Tests hashing order to be consistent. for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement) } } if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
cmd/erasure-sets.go
func crcHashMod(key string, cardinality int) int { if cardinality <= 0 { return -1 } keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) return int(keyCrc % uint32(cardinality)) } func hashKey(algo string, key string, cardinality int, id [16]byte) int { switch algo { case formatErasureVersionV2DistributionAlgoV1: return crcHashMod(key, cardinality)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1) -
android/guava/src/com/google/common/hash/HashFunction.java
* cryptographic hashes.) * <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration. * </ul> * * <h3>Providing input to a hash function</h3> * * <p>The primary way to provide the data that your hash function should act on is via a {@link * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashFunction.java
* cryptographic hashes.) * <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration. * </ul> * * <h3>Providing input to a hash function</h3> * * <p>The primary way to provide the data that your hash function should act on is via a {@link * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
internal/jwt/parser.go
borrowed []hash.Hash } // Borrow a single hasher. func (h *HashBorrower) Borrow() hash.Hash { hasher := h.pool.Get() h.borrowed = append(h.borrowed, hasher) hasher.Reset() return hasher } // ReturnAll will return all borrowed hashes. func (h *HashBorrower) ReturnAll() { for _, hasher := range h.borrowed { h.pool.Put(hasher) } h.borrowed = nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.1K bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
Der Dieb kann also nicht versuchen, die gleichen Passwörter in einem anderen System zu verwenden (da viele Benutzer überall das gleiche Passwort verwenden, wäre dies gefährlich). ## `pwdlib` installieren { #install-pwdlib } pwdlib ist ein großartiges Python-Package, um Passwort-Hashes zu handhaben.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 01 15:19:54 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
} } /** * Hashes the specified text using the given algorithm and converts it to a string. * * @param algorithm * The algorithm. Must not be {@literal null} or an empty string. * @param text * The string to be hashed. * @return The hashed string. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
} static HashCode randomHash(HashFunction hashFunction, Random random, int numActions) { Hasher hasher = hashFunction.newHasher(); for (int i = 0; i < numActions; i++) { RandomHasherAction.pickAtRandom(random).performAction(random, ImmutableSet.of(hasher)); } return hasher.hash(); } private static void assertShortcutsAreEquivalent(HashFunction hashFunction, int trials) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
} static HashCode randomHash(HashFunction hashFunction, Random random, int numActions) { Hasher hasher = hashFunction.newHasher(); for (int i = 0; i < numActions; i++) { RandomHasherAction.pickAtRandom(random).performAction(random, ImmutableSet.of(hasher)); } return hasher.hash(); } private static void assertShortcutsAreEquivalent(HashFunction hashFunction, int trials) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes. So, the thief won't be able to try to use that password in another system (as many users use the same password everywhere, this would be dangerous). ## Install `pwdlib` { #install-pwdlib } pwdlib is a great Python package to handle password hashes. It supports many secure hashing algorithms and utilities to work with them.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0)