Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRC4OutOfBoundsWrite (0.26 sec)

  1. src/crypto/issue21104_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package crypto_test
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rc4"
    	"testing"
    )
    
    func TestRC4OutOfBoundsWrite(t *testing.T) {
    	// This cipherText is encrypted "0123456789"
    	cipherText := []byte{238, 41, 187, 114, 151, 2, 107, 13, 178, 63}
    	cipher, err := rc4.NewCipher([]byte{0})
    	if err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 06:03:36 UTC 2017
    - 1.8K bytes
    - Viewed (0)
Back to top