Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for des (0.1 sec)

  1. src/crypto/des/des_test.go

    // license that can be found in the LICENSE file.
    
    package des_test
    
    import (
    	"bytes"
    	"crypto/cipher"
    	"crypto/des"
    	"testing"
    )
    
    type CryptTest struct {
    	key []byte
    	in  []byte
    	out []byte
    }
    
    // some custom tests for DES
    var encryptDESTests = []CryptTest{
    	{
    		[]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
    		[]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server_test.go

    	runServerTestTLS12(t, test)
    }
    
    func TestHandshakeServerRSA3DES(t *testing.T) {
    	test := &serverTest{
    		name:    "RSA-3DES",
    		command: []string{"openssl", "s_client", "-no_ticket", "-cipher", "DES-CBC3-SHA"},
    	}
    	runServerTestTLS10(t, test)
    	runServerTestTLS12(t, test)
    }
    
    func TestHandshakeServerRSAAES(t *testing.T) {
    	test := &serverTest{
    		name:    "RSA-AES",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top