module AWS::S3::EncryptionUtils

def get_encrypted_size size

Returns:
  • (Integer) - Returns the AES encrypted size based on a given size.

Parameters:
  • size (Integer) -- Size of data given.
def get_encrypted_size size
  # The next multiple of 16
  ((size / 16) + 1) * 16
end