Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecryptOAEP (0.15 sec)

  1. src/crypto/rsa/example_test.go

    	label := []byte("orders")
    
    	plaintext, err := rsa.DecryptOAEP(sha256.New(), nil, test2048Key, ciphertext, label)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "Error from decryption: %s\n", err)
    		return
    	}
    
    	fmt.Printf("Plaintext: %s\n", plaintext)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top