Hi again Phil, May be I read your mail too quickly. > so we don't have the correct encrypted length value to pass to the?decryption?routine. How is it possible ? If you stored the encrypted data, you should at least know the size of what is in the file or the database column, don't you ?