- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 90 for hasher (0.07 seconds)
-
internal/jwt/parser.go
} // HashBorrower keeps track of borrowed hashers and allows to return them all. type HashBorrower struct { pool *bpool.Pool[hash.Hash] 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 }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
internal/hash/checksum.go
func (c ChecksumType) CanMerge() bool { return c.Is(ChecksumCRC64NVME) || c.Is(ChecksumCRC32C) || c.Is(ChecksumCRC32) } // Hasher returns a hasher corresponding to the checksum type. // Returns nil if no checksum. func (c ChecksumType) Hasher() hash.Hash { switch { case c.Is(ChecksumCRC32): return crc32.NewIEEE() case c.Is(ChecksumCRC32C): return crc32.New(crc32.MakeTable(crc32.Castagnoli))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0) -
internal/logger/target/kafka/kafka_scram_client_contrib.go
} } // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used // to create Client objects configured for SHA-256 hashing. var KafkaSHA256 scram.HashGeneratorFcn = sha256.New // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used // to create Client objects configured for SHA-512 hashing. var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
internal/event/target/kafka_scram_client_contrib.go
} } // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used // to create Client objects configured for SHA-256 hashing. var KafkaSHA256 scram.HashGeneratorFcn = sha256.New // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used // to create Client objects configured for SHA-512 hashing. var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/hash/reader.go
return nil } r.contentHasher = cs.Type.Hasher() if r.contentHasher == nil { return ErrInvalidChecksum } return nil } // AddServerSideChecksumHasher adds a new hasher for computing the server-side checksum. func (r *Reader) AddServerSideChecksumHasher(t ChecksumType) { h := t.Hasher() if h == nil { return } r.ServerSideHasher = hCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/utils.go
if err != nil { return false } r.Body = hash.NewChecker(r.Body, md5.New(), want, r.ContentLength) return true } cs, err := hash.GetContentChecksum(r.Header) if err != nil { return false } if cs == nil || !cs.Type.IsSet() { return false } if cs.Valid() && !cs.Type.Trailing() { r.Body = hash.NewChecker(r.Body, cs.Type.Hasher(), cs.Raw, r.ContentLength) } return true }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
/// ## Die Passwörter hashen und überprüfen { #hash-and-verify-the-passwords } Importieren Sie die benötigten Tools aus `pwdlib`. Erstellen Sie eine PasswordHash-Instanz mit empfohlenen Einstellungen – sie wird für das Hashen und Verifizieren von Passwörtern verwendet. /// tip | TippCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 01 15:19:54 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
/// ## Hash and verify the passwords { #hash-and-verify-the-passwords } Import the tools we need from `pwdlib`. Create a PasswordHash instance with recommended settings - it will be used for hashing and verifying passwords. /// tip pwdlib also supports the bcrypt hashing algorithm but does not include legacy algorithms - for working with outdated hashes, it is recommended to use the passlib library.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/distributed/samples/bootstrap-complete.ldif
cn: Alice Smith sn: Smith uid: alice1 mail: ******@****.*** userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu dn: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io objectClass: inetOrgPerson cn: Robert Fisher sn: Fisher uid: bobfisher mail: ******@****.*** userPassword: {SSHA}LktfbhK5oXSdDWCNzauJ9JA+Poxinl3y dn: uid=cody3,ou=people,ou=hwengg,dc=min,dc=io objectClass: inetOrgPerson cn: Cody Thomas sn: Thomas uid: cody3Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Sep 12 15:59:00 GMT 2024 - 3.2K bytes - Click Count (0) -
scripts/docs.py
lines: list[str] = [] for line in content.split("\n"): match = header_with_permalink_pattern.match(line) if match: hashes, title, *_ = match.groups() line = f"{hashes} {title}" lines.append(line) return "\n".join(lines) def generate_readme_content() -> str: en_index = en_docs_path / "docs" / "index.md"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 21 17:40:17 GMT 2025 - 16.9K bytes - Click Count (0)