Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseCiphertext (0.21 sec)

  1. internal/kms/secret-key.go

    	return mac.Sum(make([]byte, 0, mac.Size())), nil
    }
    
    // parseCiphertext parses and converts a ciphertext into
    // the format expected by a secretKey.
    //
    // Previous implementations of the secretKey produced a structured
    // ciphertext. parseCiphertext converts all previously generated
    // formats into the expected format.
    func parseCiphertext(b []byte) ([]byte, kms.SecretKeyType) {
    	if len(b) == 0 {
    		return b, kms.AES256
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top