Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 994 for encrypto (0.21 sec)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            } finally {
                offerEncryptoCipher(cipher);
            }
            return encrypted;
        }
    
        public byte[] encrypto(final byte[] data, final Key key) {
            final Cipher cipher = pollEncryptoCipher(key);
            byte[] encrypted;
            try {
                encrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    		}
    	}
    
    	_, encrypted = crypto.IsEncrypted(info.UserDefined)
    	if !encrypted && crypto.SSEC.IsRequested(headers) && r.Header.Get(xhttp.AmzCopySource) == "" {
    		return false, errInvalidEncryptionParameters
    	}
    
    	if encrypted {
    		if crypto.SSEC.IsEncrypted(info.UserDefined) {
    			if !(crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers)) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. internal/config/crypto.go

    	if err != nil {
    		return nil, err
    	}
    	return io.ReadAll(plaintext)
    }
    
    // Encrypt encrypts the plaintext with a key managed by KMS.
    // The context is bound to the returned ciphertext.
    //
    // The same context must be provided when decrypting the
    // ciphertext.
    func Encrypt(k *kms.KMS, plaintext io.Reader, ctx kms.Context) (io.Reader, error) {
    	algorithm := sio.AES_256_GCM
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/encryption-v1_test.go

    		} else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
    		} else if !encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is not encrypted but it is", i)
    		}
    	}
    }
    
    var decryptETagTests = []struct {
    	ObjectKey  crypto.ObjectKey
    	ObjectInfo ObjectInfo
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/crypto/crypto.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package crypto
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    
    	"github.com/pkg/errors"
    )
    
    // CreateRandBytes returns a cryptographically secure slice of random bytes with a given size
    func CreateRandBytes(size uint32) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 04 08:41:27 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. docs/distributed/decom-encrypted-kes.sh

    	exit 1
    fi
    
    ./mc encrypt info myminio/versioned-1 | grep -q "Auto encryption 'sse-kms' is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected encryption enabled after expansion"
    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go

    package envelope
    
    import (
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    	"encoding/base64"
    	"fmt"
    	"time"
    
    	"k8s.io/apiserver/pkg/storage/value"
    	"k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics"
    	"k8s.io/utils/lru"
    
    	"golang.org/x/crypto/cryptobyte"
    )
    
    func init() {
    	value.RegisterMetrics()
    	metrics.RegisterMetrics()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. docs/distributed/decom-encrypted-sse-s3.sh

    	exit 1
    fi
    
    ./mc encrypt info myminio/versioned | grep -q "Auto encryption 'sse-s3' is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected encryption enabled after expansion"
    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. docs/kms/README.md

    ### Using `mc encrypt` (recommended)
    
    MinIO automatically encrypts all objects on buckets if KMS is successfully configured and bucket encryption configuration is enabled for each bucket as shown below:
    
    ```
    mc encrypt set sse-s3 myminio/bucket/
    ```
    
    Verify if MinIO has `sse-s3` enabled
    
    ```
    mc encrypt info myminio/bucket/
    Auto encryption 'sse-s3' is enabled
    ```
    
    ### Using environment (not-recommended)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go

    	cache       *simpleCache
    	apiServerID string
    }
    
    // NewEnvelopeTransformer returns a transformer which implements a KEK-DEK based envelope encryption scheme.
    // It uses envelopeService to encrypt and decrypt DEKs. Respective DEKs (in encrypted form) are prepended to
    // the data items they encrypt.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 00:23:50 UTC 2023
    - 18.7K bytes
    - Viewed (0)
Back to top