Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 175 for decrypt (0.1 sec)

  1. cmd/object-api-utils.go

    		if rs != nil {
    			off, length, err = rs.GetOffsetLength(actualSize)
    			if err != nil {
    				return nil, 0, 0, err
    			}
    			decrypt := func(b []byte) ([]byte, error) {
    				return b, nil
    			}
    			if isEncrypted {
    				decrypt = func(b []byte) ([]byte, error) {
    					return oi.compressionIndexDecrypt(b, h)
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. internal/crypto/sse-kms.go

    func (ssekms) IsEncrypted(metadata map[string]string) bool {
    	if _, ok := metadata[MetaSealedKeyKMS]; ok {
    		return true
    	}
    	return false
    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    // from the metadata using KMS and returns the decrypted object
    // key.
    func (s3 ssekms) UnsealObjectKey(k *kms.KMS, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	if k == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  4. internal/crypto/key_test.go

    		if err != nil {
    			t.Errorf("Test %d: failed to decode etag: %s", i, err)
    		}
    		sealedETag := key.SealETag(tag)
    		unsealedETag, err := key.UnsealETag(sealedETag)
    		if err != nil {
    			t.Errorf("Test %d: failed to decrypt etag: %s", i, err)
    		}
    		if !bytes.Equal(unsealedETag, tag) {
    			t.Errorf("Test %d: unsealed etag does not match: got %s - want %s", i, hex.EncodeToString(unsealedETag), etag)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    if (server != null) {
                        SettingsDecryptionRequest request = new DefaultSettingsDecryptionRequest(server);
                        SettingsDecryptionResult result = settingsDecrypter.decrypt(request);
                        server = result.getServer();
    
                        if (logger.isDebugEnabled()) {
                            for (SettingsProblem problem : result.getProblems()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg crypto, const SHA512_224 = 14
    pkg crypto, const SHA512_224 Hash
    pkg crypto, const SHA512_256 = 15
    pkg crypto, const SHA512_256 Hash
    pkg crypto, type Decrypter interface { Decrypt, Public }
    pkg crypto, type Decrypter interface, Decrypt(io.Reader, []uint8, DecrypterOpts) ([]uint8, error)
    pkg crypto, type Decrypter interface, Public() PublicKey
    pkg crypto, type DecrypterOpts interface {}
    pkg crypto/cipher, func NewGCMWithNonceSize(Block, int) (AEAD, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	// 2. Verify that we can indeed decrypt the (encrypted) key
    	decryptedKey, err := GlobalKMS.Decrypt(ctx, &kms.DecryptRequest{
    		Name:           key.KeyID,
    		Ciphertext:     key.Ciphertext,
    		AssociatedData: kmsContext,
    	})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    Constants.CIPHER_PREFIX + ComponentUtil.getPrimaryCipher().encrypt(value));
        }
    
        default String getLdapAdminSecurityCredentials() {
            final String value = getSystemProperty(Constants.LDAP_ADMIN_SECURITY_CREDENTIALS);
            if (StringUtil.isNotBlank(value) && value.startsWith(Constants.CIPHER_PREFIX)) {
                return ComponentUtil.getPrimaryCipher().decrypt(value.substring(Constants.CIPHER_PREFIX.length()));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK;
    
    /**
     * The "encrypt" goal.
     */
    @Singleton
    @Named("encrypt")
    public class Encrypt extends ConfiguredGoalSupport {
        @Inject
        public Encrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            } finally {
                offerDecryptoCipher(cipher);
            }
            return decrypted;
        }
    
        public byte[] decrypto(final byte[] data, final Key key) {
            final Cipher cipher = pollDecryptoCipher(key);
            byte[] decrypted;
            try {
                decrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top