Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,352 for nonHex (0.14 sec)

  1. internal/config/crypto.go

    		return nil, err
    	}
    	if stream.NonceSize() != len(metadata.Nonce) {
    		return nil, sio.NotAuthentic
    	}
    	return stream.DecryptReader(ciphertext, metadata.Nonce, nil), nil
    }
    
    type encryptedObject struct {
    	KeyID  string `json:"keyid"`
    	KMSKey []byte `json:"kmskey"`
    
    	Algorithm sio.Algorithm `json:"algorithm"`
    	Nonce     []byte        `json:"nonce"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
              "Digest realm=\"myrealm\", nonce=\"fjalskdflwejrlaskdfjlaskdjflaks" +
                "jdflkasdf\", qop=\"auth\", stale=\"FALSE\"",
            )
            .build()
        val challenges = headers.parseChallenges("WWW-Authenticate")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  3. internal/kms/single-key.go

    		}
    	}
    
    	if n := len(encryptedKey.Nonce); n != aead.NonceSize() {
    		return nil, Error{
    			HTTPStatusCode: http.StatusBadRequest,
    			APICode:        "KMS.InternalException",
    			Err:            fmt.Errorf("invalid nonce size %d", n),
    		}
    	}
    
    	associatedData, _ := context.MarshalText()
    	plaintext, err := aead.Open(nil, encryptedKey.Nonce, encryptedKey.Bytes, associatedData)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                }
    
                final String nonce = (String) claimsSet.getClaim("nonce");
                if (logger.isDebugEnabled()) {
                    logger.debug("nonce: {}", nonce);
                }
                if (StringUtils.isEmpty(nonce) || !nonce.equals(stateData.getNonce())) {
                    throw new SsoLoginException("could not validate nonce");
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. fastapi/params.py

            serialization_alias: Union[str, None] = None,
            title: Optional[str] = None,
            description: Optional[str] = None,
            gt: Optional[float] = None,
            ge: Optional[float] = None,
            lt: Optional[float] = None,
            le: Optional[float] = None,
            min_length: Optional[int] = None,
            max_length: Optional[int] = None,
            pattern: Optional[str] = None,
            regex: Annotated[
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  6. fastapi/param_functions.py

            ),
        ] = None,
        discriminator: Annotated[
            Union[str, None],
            Doc(
                """
                Parameter field name for discriminating the type in a tagged union.
                """
            ),
        ] = None,
        strict: Annotated[
            Union[bool, None],
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  7. tests/test_validate_response.py

        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
        return None
    
    
    @app.get("/items/validnone", response_model=Union[Item, None])
    def get_valid_none(send_none: bool = False):
        if send_none:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. docs_src/body_nested_models/tutorial007_py310.py

        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    class Offer(BaseModel):
        name: str
        description: str | None = None
        price: float
        items: list[Item]
    
    
    @app.post("/offers/")
    async def create_offer(offer: Offer):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 520 bytes
    - Viewed (0)
  9. docs_src/body_multiple_params/tutorial001.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: Union[str, None] = None,
        item: Union[Item, None] = None,
    ):
        results = {"item_id": item_id}
        if q:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 596 bytes
    - Viewed (0)
  10. docs/debugging/inspect/decrypt-v1.go

    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top