# File lib/aws/s3/encryption_utils.rb, line 95 def generate_aes_key cipher, &block key_iv_pair = [cipher.random_key, cipher.random_iv] yield(key_iv_pair) if block_given? end