- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 82 for EncodeToString (0.07 sec)
-
src/main/java/org/codelibs/fess/helper/CurlHelper.java
if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) { final String value = username + ":" + password; final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8)); request.header("Authorization", basicAuth); } if (sslSocketFactory != null) { request.sslSocketFactory(sslSocketFactory); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.8K bytes - Viewed (0) -
schema/naming.go
if utf8.RuneCountInString(formattedName) > ns.IdentifierMaxLength { h := sha1.New() h.Write([]byte(formattedName)) bs := h.Sum(nil) formattedName = formattedName[0:ns.IdentifierMaxLength-8] + hex.EncodeToString(bs)[:8] } return formattedName } var ( // https://github.com/golang/lint/blob/master/lint.go#L770
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
}).orElse(null); } public static String base64(final String value) { if (value == null) { return StringUtil.EMPTY; } return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8)); } public static boolean fileExists(final String path) { final File file = new File(LaServletContextUtil.getServletContext().getRealPath(path));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10.8K bytes - Viewed (0) -
cmd/bucket-encryption-handlers.go
return } // Call site replication hook. // // We encode the xml bytes as base64 to ensure there are no encoding // errors. cfgStr := base64.StdEncoding.EncodeToString(configData) replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{ Type: madmin.SRBucketMetaTypeSSEConfig, Bucket: bucket, SSEConfig: &cfgStr, UpdatedAt: updatedAt,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.2K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
md5Bytes := md5.Sum([]byte(object.content)) _, err = obj.PutObject(context.Background(), object.parentBucket, object.name, mustGetPutObjReader(t, bytes.NewBufferString(object.content), int64(len(object.content)), hex.EncodeToString(md5Bytes[:]), ""), ObjectOptions{ Versioned: globalBucketVersioningSys.PrefixEnabled(object.parentBucket, object.name), UserDefined: object.meta, }) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
gos.write(hash.getBytes(Constants.UTF_8)); } return SIMILAR_DOC_HASH_PREFIX + Base64.getUrlEncoder().withoutPadding().encodeToString(baos.toByteArray()); } catch (final IOException e) { logger.warn("Failed to encode {}", hash, e); } } return hash; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0)