- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 156 for hex (0.01 seconds)
-
cmd/object-api-utils_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "encoding/hex" "fmt" "io" "math/rand" "net/http" "net/http/httptest" "path" "reflect" "runtime" "strconv" "testing" "github.com/klauspost/compress/s2" "github.com/minio/minio/internal/auth"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/oauth2-jwt.md
/// ## 處理 JWT 權杖 { #handle-jwt-tokens } 匯入剛安裝的模組。 建立一把隨機的密鑰(secret key)用於簽署 JWT 權杖。 要產生安全的隨機密鑰可使用以下指令: <div class="termy"> ```console $ openssl rand -hex 32 09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7 ``` </div> 將輸出的值複製到變數 `SECRET_KEY`(不要使用範例中的那一組)。 建立變數 `ALGORITHM` 指定用來簽署 JWT 權杖的演算法,設為 `"HS256"`。 建立一個權杖有效期的變數。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) -
docs/zh/docs/tutorial/security/oauth2-jwt.md
/// ## 处理 JWT 令牌 { #handle-jwt-tokens } 导入已安装的模块。 创建一个用于对 JWT 令牌进行签名的随机密钥。 使用下列命令生成一个安全的随机密钥: <div class="termy"> ```console $ openssl rand -hex 32 09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7 ``` </div> 把输出复制到变量 `SECRET_KEY`(不要使用示例中的那个)。 创建变量 `ALGORITHM`,设置用于签名 JWT 令牌的算法,这里设为 `"HS256"`。 创建一个变量用于设置令牌的过期时间。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) -
src/archive/tar/writer_test.go
const ( uniqueA = "- " uniqueB = "+ " identity = " " ) var ss []string sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n") sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n") for len(sa) > 0 && len(sb) > 0 { if sa[0] == sb[0] { ss = append(ss, identity+sa[0]) } else { ss = append(ss, uniqueA+sa[0]) ss = append(ss, uniqueB+sb[0]) } sa, sb = sa[1:], sb[1:] } for len(sa) > 0 {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/archive/zip/reader_test.go
// log.Fatal(err) // } // return buf.Bytes() // } // // The 4 GB of zeros compresses to 4 MB, which compresses to 20 kB, // which compresses to 1252 bytes (in the hex dump below). // // It's here in hex for the same reason as rZipBytes above: to avoid // problems with on-disk virus scanners or other zip processors. func biggestZipBytes() []byte { s := `
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 57.9K bytes - Click Count (0) -
cmd/bucket-handlers.go
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Set the correct hex md5sum for the fan-out stream. fanOutOpts.MD5Hex = hex.EncodeToString(md5w.Sum(nil)) concurrentSize := min(runtime.GOMAXPROCS(0), 100) fanOutResp := make([]minio.PutObjectFanOutResponse, 0, len(fanOutEntries))Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
Signature string Type uint8 Flags uint8 EcM, EcN uint8 // Note that these will be 0/0 for non-v2 objects and older xl.meta }{ VersionID: hex.EncodeToString(z.VersionID[:]), ModTime: time.Unix(0, z.ModTime), Signature: hex.EncodeToString(z.Signature[:]), Type: z.Type, Flags: z.Flags, EcM: z.EcM, EcN: z.EcN, } return json.Marshal(tmp) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
private const val ENTRY_BODY = 1 private const val ENTRY_COUNT = 2 @JvmStatic fun key(url: HttpUrl): String = url .toString() .encodeUtf8() .md5() .hex() @Throws(IOException::class) internal fun readInt(source: BufferedSource): Int { try { val result = source.readDecimalLong() val line = source.readUtf8LineStrict()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
""".trimMargin(), ) } private fun bodyToHex(body: RequestBody): String { val buffer = Buffer() body.writeTo(buffer) return buffer.readByteString().hex() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0)