- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 246 for BASE64 (0.04 seconds)
-
cmd/site-replication.go
} if item.Versioning != nil { configData, err := base64.StdEncoding.DecodeString(*item.Versioning) if err != nil { return wrapSRErr(err) } meta.VersioningConfigXML = configData meta.VersioningConfigUpdatedAt = item.UpdatedAt } if item.Tags != nil { configData, err := base64.StdEncoding.DecodeString(*item.Tags) if err != nil { return wrapSRErr(err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
tests/test_tutorial/test_security/test_tutorial006.py
import importlib from base64 import b64encode import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial006_py39"), pytest.param("tutorial006_an_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.security.{request.param}") client = TestClient(mod.app) return client
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
from base64 import b64encode from typing import Optional from fastapi import FastAPI, Security from fastapi.security import HTTPBasic, HTTPBasicCredentials from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(auto_error=False) @app.get("/users/me") def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)): if credentials is None:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.6K bytes - Click Count (0) -
internal/auth/credentials.go
} if length < secretKeyMinLen { return "", errors.New("auth: secret key length is too short") } key := make([]byte, base64.RawStdEncoding.DecodedLen(length)) if _, err := io.ReadFull(random, key); err != nil { return "", err } s := base64.RawStdEncoding.EncodeToString(key) return strings.ReplaceAll(s, "/", "+"), nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
internal/hash/crc.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 hash import ( "encoding/base64" "encoding/binary" "fmt" "hash/crc32" "hash/crc64" "math/bits" ) // AddPart will merge a part checksum into the current, // as if the content of each was appended.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* HTTP/1.1 200 OK * 3 * Content-Type: image/png * Content-Length: 100 * Cache-Control: max-age=600 * * AES_256_WITH_MD5 * 2 * base64-encoded peerCertificate[0] * base64-encoded peerCertificate[1] * -1 * TLSv1.2 * ``` * * The file is newline separated. The first two lines are the URL and the request method. NextCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 26.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
.setRedirectUri(getOicRedirectUrl())// .setState(state)// .build(); } /** * Decodes a Base64 string to bytes. * * @param base64String the Base64 string to decode * @return the decoded bytes, or null if input is null */ protected byte[] decodeBase64(String base64String) { if (base64String == null) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sun Dec 14 01:18:25 GMT 2025 - 16.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
private static final Base64.Encoder encoder = Base64.getEncoder(); private static final int ID_MAX_LENGTH = 445; /** * Private constructor to prevent instantiation. */ private SuggestUtil() { } /** * Creates a unique identifier for the given text by encoding it to a Base64 string.Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 17.5K bytes - Click Count (1) -
tests/test_security_http_basic_realm_description.py
from base64 import b64encode from fastapi import FastAPI, Security from fastapi.security import HTTPBasic, HTTPBasicCredentials from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(realm="simple", description="HTTPBasic scheme") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.text.NumberFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Base64; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import java.util.Set;
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0)