Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 141 for cipher (0.11 sec)

  1. src/crypto/cipher/example_test.go

    	if err != nil {
    		panic(err)
    	}
    
    	// If the key is unique for each ciphertext, then it's ok to use a zero
    	// IV.
    	var iv [aes.BlockSize]byte
    	stream := cipher.NewOFB(block, iv[:])
    
    	reader := &cipher.StreamReader{S: stream, R: bReader}
    	// Copy the input to the output stream, decrypting as we go.
    	if _, err := io.Copy(os.Stdout, reader); err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 30 16:23:44 UTC 2018
    - 11.8K bytes
    - Viewed (0)
  2. docs/features/https.md

    with certificates and the privacy of data exchanged with strong ciphers.
    
    When negotiating a connection to an HTTPS server, OkHttp needs to know which [TLS versions](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-tls-version/) and [cipher suites](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-cipher-suite/) to offer. A client that wants to maximize connectivity would include obsolete TLS versions and weak-by-design cipher suites. A strict client that wants to maximize security would...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

     * here. Cipher suites that are not available on either Android (through API level 24) or Java
     * (through JDK 9) are omitted for brevity.
     *
     * See [Android SSLEngine][sslengine] which lists the cipher suites supported by Android.
     *
     * See [JDK Providers][oracle_providers] which lists the cipher suites supported by Oracle.
     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (cookieNameMap == null) {
                cookieNameMap = new HashMap<>();
            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        public void setCipher(final CachedCipher cipher) {
            this.cipher = cipher;
        }
    
        public void setValueSeparator(final String valueSeparator) {
            this.valueSeparator = valueSeparator;
        }
    
        public void setRoleSeparator(final String roleSeparator) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package envelope
    
    import (
    	"bytes"
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"encoding/base64"
    	"encoding/binary"
    	"fmt"
    	"strconv"
    	"strings"
    	"testing"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. src/crypto/aes/aes_test.go

    			continue
    		}
    		out := make([]byte, len(tt.in))
    		c.Encrypt(out, tt.in)
    		for j, v := range out {
    			if v != tt.out[j] {
    				t.Errorf("Cipher.Encrypt %d: out[%d] = %#x, want %#x", i, j, v, tt.out[j])
    				break
    			}
    		}
    	}
    }
    
    // Test Cipher Decrypt against FIPS 197 examples.
    func TestCipherDecrypt(t *testing.T) {
    	for i, tt := range encryptTests {
    		c, err := NewCipher(tt.key)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                return false;
            }
    
            boolean valid = false;
            for ( int cipher : rec.getCiphers() ) {
                if ( cipher == ec.getCiphers()[ 0 ] ) {
                    valid = true;
                }
            }
            if ( !valid ) {
                log.error("Server returned invalid cipher selection");
                return false;
            }
            return true;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
Back to top