- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for hashers (0.06 seconds)
-
guava-tests/test/com/google/common/hash/HashTestUtils.java
Random random2 = new Random(2L); Hasher hasher1 = hashFunction.newHasher(); Hasher hasher2 = hashFunction.newHasher(); for (int i = 0; i < numActions; i++) { RandomHasherAction.pickAtRandom(random1).performAction(random1, ImmutableSet.of(hasher1)); RandomHasherAction.pickAtRandom(random2).performAction(random2, ImmutableSet.of(hasher2)); } Assert.assertEquals(expected1, hasher1.hash());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.putShort((short) 0x0201); hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { TestHasher hasher = new TestHasher(); hasher.putLong(0x0807060504030201L); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (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.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
assertThrows(IllegalStateException.class, () -> hasher.putInt(42)); } public void testHashTwice() { Hasher hasher = sha512().newHasher(); assertThat( hasher .putString("The quick brown fox jumps over the lazy dog", UTF_8) .hash() .toString())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
assertThrows(IllegalStateException.class, () -> hasher.putInt(42)); } public void testHashTwice() { Hasher hasher = sha512().newHasher(); assertThat( hasher .putString("The quick brown fox jumps over the lazy dog", UTF_8) .hash() .toString())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
*/ @NullUnmarked public class HashingOutputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
api/next/70471.txt
pkg hash/maphash, type ComparableHasher[$0 comparable] struct #70471 pkg hash/maphash, type Hasher[$0 interface{}] interface { Equal, Hash } #70471 pkg hash/maphash, type Hasher[$0 interface{}] interface, Equal($0, $0) bool #70471
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Apr 03 15:21:15 GMT 2026 - 456 bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} @Override public Hasher putByte(byte b) { ensureCapacity(Byte.BYTES); buffer.put(b); return this; } @Override public Hasher putBytes(byte[] bytes, int off, int len) { ensureCapacity(len); buffer.put(bytes, off, len); return this; } @Override public Hasher putBytes(ByteBuffer bytes) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
lib/hg/goreposum.py
@command(b'goreposum', [], _('url'), norepo=True) def goreposum(ui, url): """ goreposum computes a checksum of all the named state in the remote repo. It hashes together all the branch names and hashes and then all the bookmark names and hashes. Tags are stored in .hgtags files in any of the branches, so the branch metadata includes the tags as well. """ h = hashlib.sha256() peer = hg.peer(ui, {}, url)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Nov 11 15:21:02 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0)