- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 32 for bar_key (0.08 seconds)
-
src/main/java/jcifs/util/SecureKeyManager.java
byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8); byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)]; int pos = 0; System.arraycopy(baseKey, 0, input, pos, baseKey.length); pos += baseKey.length; System.arraycopy(labelBytes, 0, input, pos, labelBytes.length); pos += labelBytes.length;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
@Test public void testDeriveKey() throws Exception { byte[] baseKey = new byte[16]; new SecureRandom().nextBytes(baseKey); byte[] derived1 = keyManager.deriveKey(baseKey, "label1", null, 32); byte[] derived2 = keyManager.deriveKey(baseKey, "label2", null, 32); byte[] derived3 = keyManager.deriveKey(baseKey, "label1", new byte[] { 1, 2, 3 }, 32);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/crypto/sse.go
// multi-part PUT request. It derives an unique encryption key from // the partID and the object key. func EncryptMultiPart(r io.Reader, partID int, key ObjectKey) io.Reader { partKey := key.DerivePartKey(uint32(partID)) return EncryptSinglePart(r, ObjectKey(partKey)) } // DecryptSinglePart decrypts an io.Writer which must an object // uploaded with the single-part PUT API. The offset and length // specify the requested range.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
new Predicate<Entry<String, Integer>>() { @Override public boolean apply(Entry<String, Integer> entry) { return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556; } }; public MultimapsFilterEntriesAsMapTest() { super(true, true, false); } private Multimap<String, Integer> createMultimap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.1K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
return c, err } arnKey := p.roleArn if p.RolePolicy == "" { arnKey = DummyRoleARN // Ensure that at most one JWT policy claim based provider may be // defined. if _, ok := c.arnProviderCfgsMap[DummyRoleARN]; ok { return c, errSingleProvider } } c.arnProviderCfgsMap[arnKey] = &p c.ProviderCfgs[cfgName] = &pCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/metacache-set.go
return 0, nil } o.debugln("searching for ", search) var tmp metacacheBlock json := jsoniter.ConfigCompatibleWithStandardLibrary i := 0 for { partKey := fmt.Sprintf("%s-metacache-part-%d", ReservedMetadataPrefixLower, i) v, ok := fi.Metadata[partKey] if !ok { o.debugln("no match in metadata, waiting") return -1, io.ErrUnexpectedEOF } err := json.Unmarshal([]byte(v), &tmp) if !ok {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0) -
cmd/encryption-v1.go
info.ETag = getDecryptedETag(headers, *info, false) } } return encrypted, nil } type ( objectMetaEncryptFn func(baseKey string, data []byte) []byte objectMetaDecryptFn func(baseKey string, data []byte) ([]byte, error) ) // metadataEncrypter returns a function that will read data from input, // encrypt it using the provided key and return the result.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 38K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
.toString()) .isEqualTo("ad262969c53bc16032f160081c4a07a0"); } public void testBadKey_emptyKey() throws Exception { SecretKey badKey = new SecretKey() { @Override public String getAlgorithm() { return "HmacMD5"; } @Override public byte @Nullable [] getEncoded() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
internal/s3select/sql/statement.go
exp.As = exp.As[1 : len(exp.As)-1] } } } return stmt, err } func validateTableName(from *TableExpression) error { if !strings.EqualFold(from.Table.BaseKey.String(), baseTableName) { return errBadTableName(errors.New("table name must be `s3object`")) } if len(from.Table.PathExpr) > 0 { if !from.Table.PathExpr[0].ArrayWildcard {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0) -
internal/s3select/sql/parser.go
ArrayWildcard bool `parser:"| @\"[*]\""` // [*] form } // JSONPath represents a keypath. // Instances should be treated idempotent and not change once created. type JSONPath struct { BaseKey *Identifier `parser:" @@"` PathExpr []*JSONPathElement `parser:"(@@)*"` // Cached values: pathString string strippedTableAlias string strippedPathExpr []*JSONPathElement }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0)