Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 947 for decrypto (0.31 sec)

  1. src/main/java/jcifs/smb/NtlmContext.java

                    if ( log.isDebugEnabled() ) {
                        log.debug("Decrypted " + Hexdump.toHexString(trunc));
                    }
                }
                catch ( GeneralSecurityException e ) {
                    throw new CIFSException("Failed to decrypt MIC", e);
                }
            }
    
            int expectSeq = this.verifySequence.getAndIncrement();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  2. src/crypto/cipher/fuzz_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ppc64le
    
    package cipher_test
    
    import (
    	"bytes"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    	"testing"
    	"time"
    )
    
    var cbcAESFuzzTests = []struct {
    	name string
    	key  []byte
    }{
    	{
    		"CBC-AES128",
    		commonKey128,
    	},
    	{
    		"CBC-AES192",
    		commonKey192,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 13:39:12 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. src/crypto/cipher/ctr_test.go

    // license that can be found in the LICENSE file.
    
    package cipher_test
    
    import (
    	"bytes"
    	"crypto/cipher"
    	"testing"
    )
    
    type noopBlock int
    
    func (b noopBlock) BlockSize() int        { return int(b) }
    func (noopBlock) Encrypt(dst, src []byte) { copy(dst, src) }
    func (noopBlock) Decrypt(dst, src []byte) { copy(dst, src) }
    
    func inc(b []byte) {
    	for i := len(b) - 1; i >= 0; i++ {
    		b[i]++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 21:38:36 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  4. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/MavenSecDispatcherProvider.java

        private final SecDispatcher secDispatcher;
    
        @Inject
        public MavenSecDispatcherProvider(
                final PlexusCipher plexusCipher, final Map<String, PasswordDecryptor> decryptors) {
            this.secDispatcher = new DefaultSecDispatcher(plexusCipher, decryptors, "~/.m2/settings-security.xml");
        }
    
        @Override
        public SecDispatcher get() {
            return secDispatcher;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    				"Decoded encrypted object",
    				"About to decrypt DEK using remote service",
    				"DEK decryption succeeded",
    				"About to decrypt data using DEK",
    				"Data decryption succeeded",
    			},
    		},
    		{
    			desc:                     "decrypt with cache miss, simulate KMS plugin failure",
    			cacheTTL:                 1 * time.Second,
    			simulateKMSPluginFailure: true,
    			expected: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  6. src/crypto/cipher/cbc_aes_test.go

    		c, err := aes.NewCipher(test.key)
    		if err != nil {
    			t.Errorf("%s: NewCipher(%d bytes) = %s", test.name, len(test.key), err)
    			continue
    		}
    
    		decrypter := cipher.NewCBCDecrypter(c, test.iv)
    
    		data := make([]byte, len(test.out))
    		copy(data, test.out)
    
    		decrypter.CryptBlocks(data, data)
    		if !bytes.Equal(test.in, data) {
    			t.Errorf("%s: CBCDecrypter\nhave %x\nwant %x", test.name, data, test.in)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"transformation_type", "transformer_prefix", "status"},
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. src/crypto/aes/aes_gcm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (amd64 || arm64) && !purego
    
    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"crypto/subtle"
    	"errors"
    )
    
    // The following functions are defined in gcm_*.s.
    
    //go:noescape
    func gcmAesInit(productTable *[256]byte, ks []uint32)
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/secretbox/secretbox.go

    package secretbox
    
    import (
    	"context"
    	"crypto/rand"
    	"fmt"
    
    	"golang.org/x/crypto/nacl/secretbox"
    
    	"k8s.io/apiserver/pkg/storage/value"
    )
    
    // secretbox implements at rest encryption of the provided values given a 32 byte secret key.
    // Uses a standard 24 byte nonce (placed at the beginning of the cipher text) generated
    // from crypto/rand. Does not perform authentication of the data at rest.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 16:31:31 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    		Name:           keyID,
    		Ciphertext:     kmsKey,
    		AssociatedData: kmsContext,
    	})
    	if err != nil {
    		return nil, err
    	}
    	var objectKey crypto.ObjectKey
    	if err = objectKey.Unseal(extKey, sealedKey, crypto.S3.String(), bucket, ""); err != nil {
    		return nil, err
    	}
    
    	outbuf := bytes.NewBuffer(nil)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top