class KDF(object):
    def calculate(self, key, data, length):
        """
        Use the key and the given input data to calculate output data of given length.
        """

        raise NotImplementedError
