Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 493 for encrypto (0.18 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/crypto/cipher/cbc.go

    	if len(src)%x.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")
    	}
    
    	iv := x.iv
    
    	for len(src) > 0 {
    		// Write the xor to dst, then encrypt in place.
    		subtle.XORBytes(dst[:x.blockSize], src[:x.blockSize], iv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go

    /*
    EncryptionConfiguration stores the complete configuration for encryption providers.
    It also allows the use of wildcards to specify the resources that should be encrypted.
    Use '*.<group>' to encrypt all resources within a group or '*.*' to encrypt all resources.
    '*.' can be used to encrypt all resource in the core group.  '*.*' will encrypt all
    resources, even custom resources that are added after API server start.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/crypto/x509/pem_decrypt.go

    	encrypted := make([]byte, len(data), len(data)+pad)
    	// We could save this copy by encrypting all the whole blocks in
    	// the data separately, but it doesn't seem worth the additional
    	// code.
    	copy(encrypted, data)
    	// See RFC 1423, Section 1.1.
    	for i := 0; i < pad; i++ {
    		encrypted = append(encrypted, byte(pad))
    	}
    	enc.CryptBlocks(encrypted, encrypted)
    
    	return &pem.Block{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top