Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExampleNewCBCEncrypter (0.23 sec)

  1. src/crypto/cipher/example_test.go

    	// using crypto/hmac) before being decrypted in order to avoid creating
    	// a padding oracle.
    
    	fmt.Printf("%s\n", ciphertext)
    	// Output: exampleplaintext
    }
    
    func ExampleNewCBCEncrypter() {
    	// Load your secret key from a safe place and reuse it across multiple
    	// NewCipher calls. (Obviously don't use this example key for anything
    	// real.) If you want to convert a passphrase to a key, use a suitable
    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