func NewAESKey(keySizeBits int) (KeyWithType, error) {
	key, err := encryption.NewAESKey(keySizeBits)
	if err != nil {
		return KeyWithType{}, err
	}
	return AESKeyFromKey(key), nil
}
// NewAESKey creates a new AES key of the specified size and returns a new KeyWithType that is typed as an AES key and
// contains the newly generated key.
NewAESKey creates a new AES key of the specified size and returns a new KeyWithType that is typed as an AES key and
contains the newly generated key.
// NewAESKey creates a new AES key of the specified size and returns a new KeyWithType that is typed as an AES key and // contains the newly generated key .
func NewAESKey(keySizeBits int) (KeyWithType, error) {
	key, err := encryption.NewAESKey(keySizeBits)
	if err != nil {
		return KeyWithType{}, err
	}
	return AESKeyFromKey(key), nil
}
func NewAESKey ( keySizeBits int ) ( KeyWithType , error ) { key , err := encryption . NewAESKey ( keySizeBits ) if err != nil { return KeyWithType { } , err } return AESKeyFromKey ( key ) , nil }
NewAESKey creates a new AES key of the specified size and returns a new KeyWithType that is typed as an AES key and
contains the newly generated key.
NewAESKey creates a new AES key of the specified size and returns a new KeyWithType that is typed as an AES key and contains the newly generated key .