Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 477 for decrypto (0.3 sec)

  1. 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)
  2. internal/crypto/sse.go

    )
    
    const (
    	// SealAlgorithm is the encryption/sealing algorithm used to derive & seal
    	// the key-encryption-key and to en/decrypt the object data.
    	SealAlgorithm = "DAREv2-HMAC-SHA256"
    
    	// InsecureSealAlgorithm is the legacy encryption/sealing algorithm used
    	// to derive & seal the key-encryption-key and to en/decrypt the object data.
    	// This algorithm should not be used for new objects because its key derivation
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K 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. internal/crypto/doc.go

    //     - enc_object_data := DAREv2_Enc(ObjectKey, object_data)
    //     -        metadata <- IV
    //     -        metadata <- SealedKey
    //     Output: enc_object_data, metadata
    //
    //  2. Decrypt:
    //     Input: ClientKey, bucket, object, metadata, enc_object_data
    //     -          IV <- metadata
    //     -   SealedKey <- metadata
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Aug 26 19:52:29 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

    import java.security.Provider;
    
    import javax.crypto.Cipher;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.spec.SecretKeySpec;
    
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    
    import jcifs.CIFSUnsupportedCryptoException;
    
    
    /**
     * @author mbechler
     *
     */
    public final class Crypto {
    
        private static Provider provider = null;
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K 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. 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)
  10. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java

        }
    
        /**
         * Creates a new request to decrypt the specified settings.
         *
         * @param settings The settings to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Settings settings) {
            setServers(settings.getServers());
            setProxies(settings.getProxies());
        }
    
        /**
         * Creates a new request to decrypt the specified server.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top