Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cf0495cc6f75dafc23948538e79904a9 (0.22 sec)

  1. src/crypto/cipher/example_test.go

    	// real.) If you want to convert a passphrase to a key, use a suitable
    	// package like bcrypt or scrypt.
    	key, _ := hex.DecodeString("6368616e676520746869732070617373")
    
    	encrypted, _ := hex.DecodeString("cf0495cc6f75dafc23948538e79904a9")
    	bReader := bytes.NewReader(encrypted)
    
    	block, err := aes.NewCipher(key)
    	if err != nil {
    		panic(err)
    	}
    
    	// If the key is unique for each ciphertext, then it's ok to use a zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 30 16:23:44 UTC 2018
    - 11.8K bytes
    - Viewed (0)
Back to top