Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 602 for decrypto (0.29 sec)

  1. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

         */
        Proxy getProxy();
    
        /**
         * Gets the decrypted proxies.
         *
         * @return The decrypted proxy, can be empty but never {@code null}.
         */
        List<Proxy> getProxies();
    
        /**
         * Gets the problems that were encountered during the settings decryption.
         *
         * @return The problems that were encountered during the decryption, can be empty but never {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/crypto/rsa/example_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rsa_test
    
    import (
    	"crypto"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/sha256"
    	"encoding/hex"
    	"fmt"
    	"os"
    )
    
    // RSA is able to encrypt only a very limited amount of data. In order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/klauspost/filepathx"
    )
    
    var (
    	keyHex      = flag.String("key", "", "decryption key")
    	privKeyPath = flag.String("private-key", "support_private.pem", "private key")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. internal/kms/secret-key.go

    		Plaintext:  plaintext,
    		Ciphertext: ciphertext,
    	}, nil
    }
    
    // Decrypt decrypts req.Ciphertext. The key name req.Name must match the key
    // name of the secretKey.
    //
    // Decrypt supports decryption of binary-encoded ciphertexts, as produced by KES
    // and MinKMS, and legacy JSON formatted ciphertexts.
    func (s secretKey) Decrypt(_ context.Context, req *DecryptRequest) ([]byte, error) {
    	if req.Name != s.keyID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. security/pkg/pki/util/crypto.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"reflect"
    	"strings"
    )
    
    const (
    	blockTypeECPrivateKey    = "EC PRIVATE KEY"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go

    // Package kmsv2 transforms values for storage at rest using a Envelope v2 provider
    package kmsv2
    
    import (
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/sha256"
    	"fmt"
    	"sort"
    	"time"
    	"unsafe"
    
    	"github.com/gogo/protobuf/proto"
    	"go.opentelemetry.io/otel/attribute"
    	"golang.org/x/crypto/cryptobyte"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/uuid"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 00:23:50 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  7. internal/kms/kms.go

    	k.updateMetrics(err, time.Since(start))
    
    	return dek, err
    }
    
    // Decrypt decrypts a ciphertext using the master key req.Name.
    // It returns ErrKeyNotFound if the key does not exist.
    func (k *KMS) Decrypt(ctx context.Context, req *DecryptRequest) ([]byte, error) {
    	start := time.Now()
    	plaintext, err := k.conn.Decrypt(ctx, req)
    	k.updateMetrics(err, time.Since(start))
    
    	return plaintext, err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

        }
    
        @Override
        public SettingsDecryptionResult decrypt(SettingsDecryptionRequest request) {
            List<SettingsProblem> problems = new ArrayList<>();
    
            List<Server> servers = new ArrayList<>();
    
            for (Server server : request.getServers()) {
                server = server.clone();
    
                try {
                    server.setPassword(decrypt(server.getPassword()));
                } catch (SecDispatcherException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/crypto/aes/gcm_s390x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"crypto/subtle"
    	"errors"
    	"internal/byteorder"
    	"internal/cpu"
    )
    
    // This file contains two implementations of AES-GCM. The first implementation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. 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"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top