Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGenerateIV (0.13 sec)

  1. internal/crypto/key_test.go

    	{Random: nil, ShouldPass: true},              // 0
    	{Random: rand.Reader, ShouldPass: true},      // 1
    	{Random: shortRandom(32), ShouldPass: true},  // 2
    	{Random: shortRandom(31), ShouldPass: false}, // 3
    }
    
    func TestGenerateIV(t *testing.T) {
    	defer func(l bool) { logger.DisableLog = l }(logger.DisableLog)
    	logger.DisableLog = true
    
    	for i, test := range generateIVTests {
    		i, test := i, test
    		func() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top