- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 947 for decrypto (0.13 sec)
-
src/crypto/aes/cipher_asm.go
boring.Unreachable() if len(src) < BlockSize { panic("crypto/aes: input not full block") } if len(dst) < BlockSize { panic("crypto/aes: output not full block") } if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) { panic("crypto/aes: invalid buffer overlap") } encryptBlockAsm(int(c.l)/4-1, &c.enc[0], &dst[0], &src[0]) } func (c *aesCipherAsm) Decrypt(dst, src []byte) { boring.Unreachable()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 14:58:19 UTC 2024 - 3K bytes - Viewed (0) -
src/crypto/issue21104_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package crypto_test import ( "crypto/aes" "crypto/cipher" "crypto/rc4" "testing" ) func TestRC4OutOfBoundsWrite(t *testing.T) { // This cipherText is encrypted "0123456789" cipherText := []byte{238, 41, 187, 114, 151, 2, 107, 13, 178, 63}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 06:03:36 UTC 2017 - 1.8K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768.go
return Kout } // parseDK parses a decryption key from its encoded form. // // It implements the computation of s from K-PKE.Decrypt according to FIPS 203 // (DRAFT), Algorithm 14. func parseDK(dx *decryptionKey, dkPKE []byte) error { if len(dkPKE) != decryptionKeySize { return errors.New("mlkem768: invalid decryption key length") } for i := range dx.s {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 28.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go
} // Call service to decrypt data. result, err := service.Decrypt(cipher) if err != nil { t.Fatalf("failed when execute decrypt, error: %v", err) } if !reflect.DeepEqual(data, result) { t.Errorf("expect: %v, but: %v", data, result) } } // Normal encryption and decryption operation by multiple go-routines.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 05:36:41 UTC 2023 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go
wantCount: 1, }, { name: "decrypt", operation: func() { if _, err = service.Decrypt(ctx, "1", &kmsservice.DecryptRequest{Ciphertext: []byte("testdata"), KeyID: "1"}); err != nil { t.Fatalf("failed when execute decrypt, error: %v", err) } }, labelValues: []string{testProviderName, "/v2.KeyManagementService/Decrypt", "OK"}, wantCount: 1, }, { name: "status",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 12.7K bytes - Viewed (0) -
src/crypto/cipher/ctr.go
package cipher import ( "bytes" "crypto/internal/alias" "crypto/subtle" ) type ctr struct { b Block ctr []byte out []byte outUsed int } const streamBufferSize = 512 // ctrAble is an interface implemented by ciphers that have a specific optimized // implementation of CTR, like crypto/aes. NewCTR will check for this interface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 2.2K bytes - Viewed (0) -
src/crypto/tls/ticket.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tls import ( "crypto/aes" "crypto/cipher" "crypto/hmac" "crypto/sha256" "crypto/subtle" "crypto/x509" "errors" "io" "golang.org/x/crypto/cryptobyte" ) // A SessionState is a resumable session. type SessionState struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
internal/config/crypto_test.go
} plaintext, err := Decrypt(KMS, bytes.NewReader(data), test.Context) if err != nil { t.Fatalf("Test %d: failed to decrypt stream: %v", i, err) } data, err = io.ReadAll(plaintext) if err != nil { t.Fatalf("Test %d: failed to decrypt stream: %v", i, err) } if !bytes.Equal(data, test.Data) { t.Fatalf("Test %d: decrypted data does not match original data", i) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 3.2K bytes - Viewed (0) -
src/crypto/des/example_test.go
tripleDESKey = append(tripleDESKey, ede2Key[:8]...) _, err := des.NewTripleDESCipher(tripleDESKey) if err != nil { panic(err) } // See crypto/cipher for how to use a cipher.Block for encryption and // decryption.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 697 bytes - Viewed (0) -
src/crypto/aes/ctr_s390x.go
// Copyright 2016 The Go Authors. All rights reserved. // 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" "internal/byteorder" ) // Assert that aesCipherAsm implements the ctrAble interface. var _ ctrAble = (*aesCipherAsm)(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 2.4K bytes - Viewed (0)