- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 435 for cipher (0.21 sec)
-
src/crypto/cipher/export_test.go
// Copyright 2018 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 cipher // Export internal functions for testing. var NewCBCGenericEncrypter = newCBCGenericEncrypter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 17 18:47:33 UTC 2022 - 322 bytes - Viewed (0) -
internal/kms/secret-key.go
iv, nonce := random[:16], random[16:] var aead cipher.AEAD switch keyType { case kms.AES256: mac := hmac.New(sha256.New, s.key) mac.Write(iv) sealingKey := mac.Sum(nil) block, err := aes.NewCipher(sealingKey) if err != nil { return nil, err } aead, err = cipher.NewGCM(block) if err != nil { return nil, err } case kms.ChaCha20:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 8.2K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go
// extended nonce variant XChaCha20-Poly1305, as specified in RFC 8439 and // draft-irtf-cfrg-xchacha-01. package chacha20poly1305 // import "golang.org/x/crypto/chacha20poly1305" import ( "crypto/cipher" "errors" ) const ( // KeySize is the size of the key used by this AEAD, in bytes. KeySize = 32 // NonceSize is the size of the nonce used with the standard variant of this // AEAD, in bytes. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:44 UTC 2021 - 2.8K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20/chacha_arm64.go
//go:build gc && !purego package chacha20 const bufSize = 256 //go:noescape func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32) func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) { xorKeyStreamVX(dst, src, &c.key, &c.nonce, &c.counter)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 441 bytes - Viewed (0) -
src/crypto/rsa/example_test.go
} // Since the key is random, using a fixed nonce is acceptable as the // (key, nonce) pair will still be unique, as required. var zeroNonce [12]byte aead, err := cipher.NewGCM(block) if err != nil { panic("cipher.NewGCM failed: " + err.Error()) } ciphertext, _ := hex.DecodeString("00112233445566") plaintext, err := aead.Open(nil, zeroNonce[:], ciphertext, nil) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:52:37 UTC 2023 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
value = "password=b"; expect = "password={cipher}5691346cc398a4450114883140fa84a7"; assertEquals(expect, ParameterUtil.encrypt(value)); value = "aaa.password=b\naaa=c\nccc.key=d"; expect = "aaa.password={cipher}5691346cc398a4450114883140fa84a7\n" + "aaa=c\n" + "ccc.key={cipher}bf66204f1a59036869a684d61d337bd4"; assertEquals(expect, ParameterUtil.encrypt(value));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.1K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.go
//go:build gc && !purego package chacha20 const bufSize = 256 //go:noescape func chaCha20_ctr32_vsx(out, inp *byte, len int, key *[8]uint32, counter *uint32) func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) { chaCha20_ctr32_vsx(&dst[0], &src[0], len(src), &c.key, &c.counter)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 447 bytes - Viewed (0) -
src/site/xdoc/maven-deps.odg
Maven 4 API sisu plexus inject guice plexus core distribution sec-dispatcher commons-cli utils plugin-api artifact embedder settings-builder model-builder model cipher interpolation wagon-provider-api classworlds repository-metadata settings resolver api spi impl util resolver-provider builder-support jansi slf4j-api shared-utils slf4j-provider bom toolchain-builder toolchain-model meta di xml model plugin toolchain core spi xml-impl xml settings jline3 compat slf4j-wrapper jline woodstox api-impl...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 24 16:01:00 UTC 2024 - 37K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
val cipher = newEncryptionSession().decryptingCipher(inputStream::read) return CipherInputStream(inputStream, cipher) } private fun encryptingOutputStream(outputStream: OutputStream): OutputStream { val cipher = newEncryptionSession().encryptingCipher(outputStream::write) return CipherOutputStream(outputStream, cipher) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
/* RC4 was not added to Java until 1.5u7 so let's use our own for a little while longer ... try { Cipher rc4 = Cipher.getInstance("RC4"); rc4.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(ntlm2SessionKey, "RC4")); rc4.update(masterKey, 0, 16, exchangedKey, 0);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.9K bytes - Viewed (0)