Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for nonces (0.14 seconds)

  1. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

                java.util.Arrays.fill(this.nonce, (byte) 0);
                System.arraycopy(nonce, 0, this.nonce, 0, 12);
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
            } else {
                throw new IllegalArgumentException("Nonce must be 12 bytes (CCM) or 16 bytes (GCM)");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. helm/minio/templates/NOTES.txt

    Daryl White <******@****.***> 1755022836 -0400
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. internal/kms/secret-key.go

    	if len(value.IV) != IVSize {
    		return ErrDecrypt
    	}
    	if len(value.Nonce) != NonceSize {
    		return ErrDecrypt
    	}
    
    	switch value.Algorithm {
    	case AES256GCM:
    		c.Algorithm = kms.AES256
    	case CHACHA20POLY1305:
    		c.Algorithm = kms.ChaCha20
    	default:
    		c.Algorithm = 0
    	}
    	c.ID = value.ID
    	c.IV = value.IV
    	c.Nonce = value.Nonce
    	c.Bytes = value.Bytes
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. 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"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. .github/workflows/release-notes.yml

    name: Check closed issue release notes
    
    on:
      issues:
        types: [ closed ]
    
    permissions: {}
    
    jobs:
      check_release_notes:
        permissions:
          issues: write
        runs-on: ubuntu-latest
        steps:
          # Check that release-note-worthy issues have a PR with release notes attached
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 04 15:13:53 GMT 2024
    - 344 bytes
    - Click Count (0)
  7. internal/crypto/key.go

    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    	mac := hmac.New(sha256.New, extKey)
    	mac.Write([]byte(Context))
    	mac.Write(nonce[:])
    	mac.Sum(key[:0])
    	return key
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body-nested-models.md

    Pero luego pensamos en ello, y nos damos cuenta de que los tags no deberían repetirse, probablemente serían strings únicos.
    
    Y Python tiene un tipo de datos especial para conjuntos de elementos únicos, el `set`.
    
    Entonces podemos declarar `tags` como un conjunto de strings:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. internal/kms/secret-key_test.go

    		Ciphertext: `{"aead":"ChaCha20Poly1305","iv":"JbI+vwvYww1lCb5VpkAFuQ==","nonce":"ARjIjJxBSD541Gz8","bytes":"KCbEc2sA0TLvA7aWTWa23AdccVfJMpOxwgG8hm+4PaNrxYfy1xFWZg2gEenVrOgv"}`,
    	},
    	{
    		KeyID:      "my-key",
    		Plaintext:  "UnPWsZgVI+T4L9WGNzFlP1PsP1Z6hn2Fx8ISeZfDGnA=",
    		Ciphertext: `{"aead":"ChaCha20Poly1305","iv":"r4+yfiVbVIYR0Z2I9Fq+6g==","nonce":"2YpwGwE59GcVraI3","bytes":"k/svMglOU7/Kgwv73heG38NWW575XLcFp3SaxQHDMjJGYyRI3Fiygu2OeutGPXNL"}`,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    Un "**callable**" en Python es cualquier cosa que Python pueda "llamar" como una función.
    
    Entonces, si tienes un objeto `something` (que podría _no_ ser una función) y puedes "llamarlo" (ejecutarlo) como:
    
    ```Python
    something()
    ```
    
    o
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    entonces es un "callable".
    
    ## Clases como dependencias { #classes-as-dependencies_1 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top