- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,026 for key (0.16 sec)
-
internal/crypto/key.go
} // SealedKey represents a sealed object key. It can be stored // at an untrusted location. type SealedKey struct { Key [64]byte // The encrypted and authenticated object-key. IV [32]byte // The random IV used to encrypt the object-key. Algorithm string // The sealing algorithm used to encrypt the object key. } // Seal encrypts the ObjectKey using the 256 bit external key and IV. The sealed
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) -
.github/workflows/root.key
Harshavardhana <******@****.***> 1620513629 -0700
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 08 22:40:29 GMT 2021 - 119 bytes - Viewed (0) -
internal/crypto/key_test.go
for i, test := range generateKeyTests { i, test := i, test func() { defer recoverTest(i, test.ShouldPass, t) key := GenerateKey(test.ExtKey[:], test.Random) if [32]byte(key) == [32]byte{} { t.Errorf("Test %d: generated key is zero key", i) // check that we generate random and unique key } }() } } var generateIVTests = []struct { Random io.Reader ShouldPass bool }{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 02 00:13:57 GMT 2024 - 6.8K bytes - Viewed (0) -
internal/kms/key-manager.go
) // KeyManager is the generic interface that handles KMS key operations type KeyManager interface { // CreateKey creates a new key at the KMS with the given key ID. CreateKey(ctx context.Context, keyID string) error // DeleteKey deletes a key at the KMS with the given key ID. // Please note that is a dangerous operation. // Once a key has been deleted all data that has been encrypted with it cannot be decrypted
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 1.9K bytes - Viewed (0) -
internal/kms/single-key.go
key, err := base64.StdEncoding.DecodeString(b64Key) if err != nil { return nil, err } return New(keyID, key) } // New returns a single-key KMS that derives new DEKs from the // given key. func New(keyID string, key []byte) (KMS, error) { if len(key) != 32 { return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key))) } return secretKey{ keyID: keyID, key: key, }, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_config.key_match/key_match.json
Shinsuke Sugaya <******@****.***> 1638450896 +0900
Json - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 516 bytes - Viewed (0) -
fastapi/security/api_key.py
The dependency result will be a string containing the key value. ## Example ```python from fastapi import Depends, FastAPI from fastapi.security import APIKeyQuery app = FastAPI() query_scheme = APIKeyQuery(name="api_key") @app.get("/items/") async def read_items(api_key: str = Depends(query_scheme)): return {"api_key": api_key} ``` """ def __init__(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 23 22:29:18 GMT 2024 - 9.1K bytes - Viewed (0) -
internal/event/target/testdata/contrib/certs/nats_server_key.pem
-----BEGIN EC PRIVATE KEY----- MHcCAQEEILFuMS2xvsc/CsuqtSv3S2iSCcc28rZs AwEHoUQDQgAEqJSlCOxV SSC/X3+aUQzflOkL8MJQ5lxKodW== -----END EC PRIVATE KEY-----...
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 227 bytes - Viewed (0) -
internal/kms/single-key_test.go
func TestSingleKeyRoundtrip(t *testing.T) { KMS, err := Parse("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=") if err != nil { t.Fatalf("Failed to initialize KMS: %v", err) } key, err := KMS.GenerateKey(context.Background(), "my-key", Context{}) if err != nil { t.Fatalf("Failed to generate key: %v", err) } plaintext, err := KMS.DecryptKey(key.KeyID, key.Ciphertext, Context{}) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jul 19 01:54:27 GMT 2022 - 3K bytes - Viewed (0) -
internal/event/target/testdata/contrib/certs/nats_client_key.pem
-----BEGIN EC PRIVATE KEY----- MHcCAQEEIBluB2BuspJc/ZwNmygNw06NbdTZDroAo AwEHoUQDQgAEQIWK0F2G+e4AaYcBT9aOUuwo8aBig 4rCvhUktmLZbVO3DOy+wHbiyG7hJxhx2EA== -----END EC PRIVATE KEY-----...
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 227 bytes - Viewed (0)