Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 947 for decrypto (0.13 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/EncryptionAlgorithm.java

     */
    
    package org.gradle.util.internal;
    
    import javax.crypto.Cipher;
    import javax.crypto.SecretKey;
    import java.io.IOException;
    
    /**
     * A protocol for encryption algorithms.
     */
    public interface EncryptionAlgorithm {
        String getTransformation();
    
        String getAlgorithm();
    
        /**
         * Creates an encryption/decryption session with this algorithm and the given key.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/crypto/aes/cbc_s390x.go

    func (x *cbc) CryptBlocks(dst, src []byte) {
    	if len(src)%BlockSize != 0 {
    		panic("crypto/cipher: input not full blocks")
    	}
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    	if alias.InexactOverlap(dst[:len(src)], src) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    	if len(src) > 0 {
    		cryptBlocksChain(x.c, &x.iv[0], &x.b.key[0], &dst[0], &src[0], len(src))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/crypto/cipher/ofb.go

    // license that can be found in the LICENSE file.
    
    // OFB (Output Feedback) Mode.
    
    package cipher
    
    import (
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type ofb struct {
    	b       Block
    	cipher  []byte
    	out     []byte
    	outUsed int
    }
    
    // NewOFB returns a [Stream] that encrypts or decrypts using the block cipher b
    // in output feedback mode. The initialization vector iv's length must be equal
    // to b's block size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. src/crypto/aes/cbc_ppc64x.go

    // cryptBlocksChain invokes the cipher message identifying encrypt or decrypt.
    //
    //go:noescape
    func cryptBlocksChain(src, dst *byte, length int, key *uint32, iv *byte, enc int, nr int)
    
    func (x *cbc) CryptBlocks(dst, src []byte) {
    	if len(src)%BlockSize != 0 {
    		panic("crypto/cipher: input not full blocks")
    	}
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/crypto/cipher/gcm.go

    	if len(nonce) != g.nonceSize {
    		panic("crypto/cipher: incorrect nonce length given to GCM")
    	}
    	if uint64(len(plaintext)) > ((1<<32)-2)*uint64(g.cipher.BlockSize()) {
    		panic("crypto/cipher: message too large for GCM")
    	}
    
    	ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
    	if alias.InexactOverlap(out, plaintext) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/crypto/crypto_test.go

    		expectDecryptErr bool
    	}{
    		"can decrypt using the correct key": {
    			encryptKey:       key1,
    			decryptKey:       key1,
    			data:             testData,
    			expectDecryptErr: false,
    		},
    		"can't decrypt using incorrect key": {
    			encryptKey:       key1,
    			decryptKey:       key2,
    			data:             testData,
    			expectDecryptErr: true,
    		},
    		"can't decrypt without a key": {
    			encryptKey:       key1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

    		},
    		{
    			name:        "log error without request info",
    			ctx:         context.Background(),
    			err:         errors.New("decryption failed"),
    			message:     "failed to decrypt data",
    			expectedLog: "\"failed to decrypt data\" err=\"decryption failed\" group=\"\" version=\"\" resource=\"\" subresource=\"\" verb=\"\" namespace=\"\" name=\"\"\n",
    		},
    	}
    
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. src/crypto/aes/modes.go

    // implementation of CBC encryption through the cipher.BlockMode interface.
    // See crypto/cipher/cbc.go.
    type cbcEncAble interface {
    	NewCBCEncrypter(iv []byte) cipher.BlockMode
    }
    
    // cbcDecAble is implemented by cipher.Blocks that can provide an optimized
    // implementation of CBC decryption through the cipher.BlockMode interface.
    // See crypto/cipher/cbc.go.
    type cbcDecAble interface {
    	NewCBCDecrypter(iv []byte) cipher.BlockMode
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  9. src/crypto/rsa/pss.go

    	// zero, it overrides the hash function passed to SignPSS. It's required
    	// when using PrivateKey.Sign.
    	Hash crypto.Hash
    }
    
    // HashFunc returns opts.Hash so that [PSSOptions] implements [crypto.SignerOpts].
    func (opts *PSSOptions) HashFunc() crypto.Hash {
    	return opts.Hash
    }
    
    func (opts *PSSOptions) saltLength() int {
    	if opts == nil {
    		return PSSSaltLengthAuto
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.crypto.DefaultSettingsDecryptionRequest;
    import org.apache.maven.settings.crypto.SettingsDecrypter;
    import org.apache.maven.settings.crypto.SettingsDecryptionResult;
    import org.apache.maven.wagon.ResourceDoesNotExistException;
    import org.apache.maven.wagon.TransferFailedException;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top