- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for FnOnce (0.17 sec)
-
internal/config/crypto.go
return nil, err } if stream.NonceSize() != len(metadata.Nonce) { return nil, sio.NotAuthentic } return stream.DecryptReader(ciphertext, metadata.Nonce, nil), nil } type encryptedObject struct { KeyID string `json:"keyid"` KMSKey []byte `json:"kmskey"` Algorithm sio.Algorithm `json:"algorithm"` Nonce []byte `json:"nonce"`
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 4.8K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 1.6K bytes - Viewed (0) -
internal/kms/single-key.go
} } if n := len(encryptedKey.Nonce); n != aead.NonceSize() { return nil, Error{ HTTPStatusCode: http.StatusBadRequest, APICode: "KMS.InternalException", Err: fmt.Errorf("invalid nonce size %d", n), } } associatedData, _ := context.MarshalText() plaintext, err := aead.Open(nil, encryptedKey.Nonce, encryptedKey.Bytes, associatedData) if err != nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* @param password * The user's password. * @param challenge * The server challenge. * @param clientChallenge * The client challenge (nonce). * @return the calculated response * @throws GeneralSecurityException */ public static byte[] getLMv2Response ( String domain, String user, String password, byte[] challenge, byte[] clientChallenge )
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 9.7K bytes - Viewed (0) -
internal/crypto/key.go
} var nonce [32]byte if _, err := io.ReadFull(random, nonce[:]); err != nil { logger.CriticalIf(context.Background(), errOutOfEntropy) } const Context = "object-encryption-key generation" mac := hmac.New(sha256.New, extKey) mac.Write([]byte(Context)) mac.Write(nonce[:]) mac.Sum(key[:0]) return key }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 19 20:28:10 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/sts/web-identity.go
} if c.RedirectURL != "" { v.Set("redirect_uri", c.RedirectURL) } if len(c.Scopes) > 0 { v.Set("scope", strings.Join(c.Scopes, " ")) } v.Set("state", state) v.Set("nonce", state) if strings.Contains(c.Endpoint.AuthURL, "?") { buf.WriteByte('&') } else { buf.WriteByte('?') } buf.WriteString(v.Encode()) return buf.String() } func main() {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Viewed (3)