Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Ciphertext (0.17 sec)

  1. internal/kms/kes.go

    		return nil, err
    	}
    	return c.client.Decrypt(context.Background(), keyID, ciphertext, ctxBytes)
    }
    
    func (c *kesClient) DecryptAll(ctx context.Context, keyID string, ciphertexts [][]byte, contexts []Context) ([][]byte, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	plaintexts := make([][]byte, 0, len(ciphertexts))
    	for i := range ciphertexts {
    		ctxBytes, err := contexts[i].MarshalText()
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top