Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for crypto (0.26 sec)

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

     */
    package org.codelibs.core.crypto;
    
    import java.io.UnsupportedEncodingException;
    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    		if err != nil {
    			return crypto.ObjectKey{}, err
    		}
    
    		objectKey := crypto.GenerateKey(key.Plaintext, rand.Reader)
    		sealedKey = objectKey.Seal(key.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3.String(), bucket, object)
    		crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)
    		return objectKey, nil
    	case crypto.S3KMS:
    		if GlobalKMS == nil {
    			return crypto.ObjectKey{}, errKMSNotConfigured
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwks.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package openid
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"math/big"
    )
    
    // JWKS - https://tools.ietf.org/html/rfc7517
    type JWKS struct {
    	Keys []*JWKS `json:"keys,omitempty"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. internal/crypto/key.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"bytes"
    	"context"
    	"crypto/hmac"
    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"io"
    	"path"
    
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/hash/sha256"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    		}
    	}
    
    	encMetadata := map[string]string{}
    
    	if crypto.Requested(r.Header) {
    		if crypto.SSECopy.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, errInvalidEncryptionParameters), r.URL)
    			return
    		}
    
    		if crypto.SSEC.IsRequested(r.Header) && crypto.S3.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionMethod), r.URL)
    			return
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. src/README.vendor

    src/cmd/go.mod. When a package outside std or cmd is imported
    by a package inside std or cmd, the import path is interpreted
    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    an import of "golang.org/x/crypto/cryptobyte" resolves to
    "vendor/golang.org/x/crypto/cryptobyte". When a package with the
    same path is imported from a package outside std or cmd, it will
    be resolved normally. Consequently, a binary may be built with two
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. doc/godebug.md

    [`tls10server` setting](/pkg/crypto/tls/#Config).
    
    Go 1.22 changed the default TLS cipher suites used by clients and servers when
    not explicitly configured, removing the cipher suites which used RSA based key
    exchange. The default can be reverted using the [`tlsrsakex` setting](/pkg/crypto/tls/#Config).
    
    Go 1.22 disabled
    [`ConnectionState.ExportKeyingMaterial`](/pkg/crypto/tls/#ConnectionState.ExportKeyingMaterial)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. cmd/bucket-metadata.go

    	key, err := GlobalKMS.GenerateKey(ctx, "", kmsContext)
    	if err != nil {
    		return
    	}
    
    	outbuf := bytes.NewBuffer(nil)
    	objectKey := crypto.GenerateKey(key.Plaintext, rand.Reader)
    	sealedKey := objectKey.Seal(key.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3.String(), bucket, "")
    	crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. cmd/sftp-server.go

    package cmd
    
    import (
    	"context"
    	"crypto/subtle"
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    	xsftp "github.com/minio/pkg/v2/sftp"
    	"github.com/pkg/sftp"
    	"golang.org/x/crypto/ssh"
    )
    
    type sftpLogger struct{}
    
    func (s *sftpLogger) Info(tag xsftp.LogType, msg string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/object-api-options.go

    			return
    		}
    		return
    	}
    
    	if crypto.SSEC.IsRequested(header) {
    		clientKey, err = crypto.SSEC.ParseHTTP(header)
    		if err != nil {
    			return
    		}
    		if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil {
    			return
    		}
    		opts.ServerSideEncryption = sse
    		return
    	}
    	if crypto.S3.IsRequested(header) || (metadata != nil && crypto.S3.IsEncrypted(metadata)) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top