- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cryptorand (0.24 sec)
-
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
if keyType == kubeadmapi.EncryptionAlgorithmECDSAP256 { return ecdsa.GenerateKey(elliptic.P256(), cryptorand.Reader) } rsaKeySize := rsaKeySizeFromAlgorithmType(keyType) if rsaKeySize == 0 { return nil, errors.Errorf("cannot obtain key size from unknown RSA algorithm: %q", keyType) } return rsa.GenerateKey(cryptorand.Reader, rsaKeySize) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go
See the License for the specific language governing permissions and limitations under the License. */ package options import ( "bytes" "context" cryptorand "crypto/rand" "crypto/rsa" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "encoding/base64" "encoding/pem" "errors" "fmt" "io/ioutil" "math/big" "net" "os" "path/filepath"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 15:52:39 UTC 2024 - 13.8K bytes - Viewed (0) -
src/crypto/ed25519/ed25519.go
// 8032 private key as the “seed”. // // Operations involving private keys are implemented using constant-time // algorithms. package ed25519 import ( "bytes" "crypto" "crypto/internal/edwards25519" cryptorand "crypto/rand" "crypto/sha512" "crypto/subtle" "errors" "io" "strconv" ) const ( // PublicKeySize is the size, in bytes, of public keys as used in this package. PublicKeySize = 32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11.7K bytes - Viewed (0)