def make_encrypted_object(object)
            case object
            when String
                object.extend(Encryption::EncryptedString)
            when Stream
                object.extend(Encryption::EncryptedStream)
            when ObjectCache
                object.strings_cache.each do |string|
                    string.extend(Encryption::EncryptedString)
                end
            end
        end
def make_encrypted_object(object)
            case object
            when String
                object.extend(Encryption::EncryptedString)
            when Stream
                object.extend(Encryption::EncryptedStream)
            when ObjectCache
                object.strings_cache.each do |string|
                    string.extend(Encryption::EncryptedString)
                end
            end
        end
Method called on encrypted objects loaded into the document.