Encrypt filter device driver on ntfs

Hi,
I develop a Encrypt filter device on ntfs–using Des to encrypt file data.
It works well with those files of which length is aligned to 8 ,but make
funny code with files of which length is not aligned to 8.
Anyone know why is it?
Thanks a lot

http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡

http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû

You are using block mode cipher, right ?
Block length for DES is 8 bytes.
Use a counter-mode cipher or make your
encrypted files aligned to 8 bytes.

L.

----- Original Message -----
From: “f”
To: “Windows File Systems Devs Interest List”
Sent: Monday, November 01, 2004 8:40 AM
Subject: [ntfsd] Encrypt filter device driver on ntfs

> Hi,
> I develop a Encrypt filter device on ntfs–using Des to encrypt file data.
> It works well with those files of which length is aligned to 8 ,but make
> funny code with files of which length is not aligned to 8.
> Anyone know why is it?
> Thanks a lot
>
>
>
>
>
> –http://www.eyou.com
> --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
>
> –http://vip.eyou.com
> --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@volny.cz
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

hi,
you should add 0 to aligned your file buffer to 8,when you decrypt,delete added 0 .

----- Original Message -----
From: “f”
To: “Windows File Systems Devs Interest List”
Sent: Monday, November 01, 2004 3:40 PM
Subject: [ntfsd] Encrypt filter device driver on ntfs

> Hi,
> I develop a Encrypt filter device on ntfs–using Des to encrypt file data.
> It works well with those files of which length is aligned to 8 ,but make
> funny code with files of which length is not aligned to 8.
> Anyone know why is it?
> Thanks a lot
>
>
>
>
>
> –http://www.eyou.com
> --?ȶ??ɿ??ĵ??? ???ʼ? ?ƶ???ǩ ??? ???洢…???δ??
>
> –http://vip.eyou.com
> --???¼???VIP??? ע???û???
>
>
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@sagetech.com.cn
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Dumb idea. Changing the size of files just because you are encrypting the
data is a very bad idea.

wrote in message news:xxxxx@ntfsd…
> hi,
> you should add 0 to aligned your file buffer to 8,when you decrypt,delete
> added 0 .
>
>
> ----- Original Message -----
> From: “f”
> To: “Windows File Systems Devs Interest List”
> Sent: Monday, November 01, 2004 3:40 PM
> Subject: [ntfsd] Encrypt filter device driver on ntfs
>
>
>> Hi,
>> I develop a Encrypt filter device on ntfs–using Des to encrypt file
>> data.
>> It works well with those files of which length is aligned to 8 ,but make
>> funny code with files of which length is not aligned to 8.
>> Anyone know why is it?
>> Thanks a lot
>>
>>
>>
>>
>>
>> –http://www.eyou.com
>> --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
>>
>> –http://vip.eyou.com
>> --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: xxxxx@sagetech.com.cn
>> To unsubscribe send a blank email to xxxxx@lists.osr.com

David J. Craig??
thanks for your advice,but how to enc a file whitch is not aligned to 8,
if a file is 9 bytes,how to consolve the last byte.
please give me some idea .

ildee

From: “David J. Craig”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, November 02, 2004 12:58 AM
Subject: Re:[ntfsd] Encrypt filter device driver on ntfs

> Dumb idea. Changing the size of files just because you are encrypting the
> data is a very bad idea.
>
> wrote in message news:xxxxx@ntfsd…
> > hi,
> > you should add 0 to aligned your file buffer to 8,when you decrypt,delete
> > added 0 .
> >
> >
> > ----- Original Message -----
> > From: “f”
> > To: “Windows File Systems Devs Interest List”
> > Sent: Monday, November 01, 2004 3:40 PM
> > Subject: [ntfsd] Encrypt filter device driver on ntfs
> >
> >
> >> Hi,
> >> I develop a Encrypt filter device on ntfs–using Des to encrypt file
> >> data.
> >> It works well with those files of which length is aligned to 8 ,but make
> >> funny code with files of which length is not aligned to 8.
> >> Anyone know why is it?
> >> Thanks a lot
> >>
> >>
> >>
> >>
> >>
> >> –http://www.eyou.com
> >> --?ȶ??ɿ??ĵ??? ???ʼ? ?ƶ???ǩ ??? ???洢…???δ??
> >>
> >> –http://vip.eyou.com
> >> --???¼???VIP??? ע???û???
> >>
> >>
> >>
> >> —
> >> Questions? First check the IFS FAQ at
> >> https://www.osronline.com/article.cfm?id=17
> >>
> >> You are currently subscribed to ntfsd as: xxxxx@sagetech.com.cn
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: ildee@263.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Try searching for my name. I wrote about a way to do it that I know works.

“ildee263” wrote in message news:xxxxx@ntfsd…
>
> David J. Craig£¬
> thanks for your advice,but how to enc a file whitch is not aligned to 8,
> if a file is 9 bytes,how to consolve the last byte.
> please give me some idea .
>
> ildee
>
>
> From: “David J. Craig”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Tuesday, November 02, 2004 12:58 AM
> Subject: Re:[ntfsd] Encrypt filter device driver on ntfs
>
>
>> Dumb idea. Changing the size of files just because you are encrypting
>> the
>> data is a very bad idea.
>>
>> wrote in message news:xxxxx@ntfsd…
>> > hi,
>> > you should add 0 to aligned your file buffer to 8,when you
>> > decrypt,delete
>> > added 0 .
>> >
>> >
>> > ----- Original Message -----
>> > From: “f”
>> > To: “Windows File Systems Devs Interest List”
>> > Sent: Monday, November 01, 2004 3:40 PM
>> > Subject: [ntfsd] Encrypt filter device driver on ntfs
>> >
>> >
>> >> Hi,
>> >> I develop a Encrypt filter device on ntfs–using Des to encrypt file
>> >> data.
>> >> It works well with those files of which length is aligned to 8 ,but
>> >> make
>> >> funny code with files of which length is not aligned to 8.
>> >> Anyone know why is it?
>> >> Thanks a lot
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> –http://www.eyou.com
>> >> --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
>> >>
>> >>
>> >> –http://vip.eyou.com
>> >> --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
>> >>
>> >>
>> >>
>> >> —
>> >> Questions? First check the IFS FAQ at
>> >> https://www.osronline.com/article.cfm?id=17
>> >>
>> >> You are currently subscribed to ntfsd as: xxxxx@sagetech.com.cn
>> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: ildee@263.net
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>

thanks
i’ll try

----- Original Message -----
From: “David J. Craig”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, November 02, 2004 10:30 AM
Subject: Re:[ntfsd] Re:Encrypt filter device driver on ntfs

> Try searching for my name. I wrote about a way to do it that I know works.
>
> “ildee263” wrote in message news:xxxxx@ntfsd…
> >
> > David J. Craig??
> > thanks for your advice,but how to enc a file whitch is not aligned to 8,
> > if a file is 9 bytes,how to consolve the last byte.
> > please give me some idea .
> >
> > ildee
> >
> >
> > From: “David J. Craig”
> > Newsgroups: ntfsd
> > To: “Windows File Systems Devs Interest List”
> > Sent: Tuesday, November 02, 2004 12:58 AM
> > Subject: Re:[ntfsd] Encrypt filter device driver on ntfs
> >
> >
> >> Dumb idea. Changing the size of files just because you are encrypting
> >> the
> >> data is a very bad idea.
> >>
> >> wrote in message news:xxxxx@ntfsd…
> >> > hi,
> >> > you should add 0 to aligned your file buffer to 8,when you
> >> > decrypt,delete
> >> > added 0 .
> >> >
> >> >
> >> > ----- Original Message -----
> >> > From: “f”
> >> > To: “Windows File Systems Devs Interest List”
> >> > Sent: Monday, November 01, 2004 3:40 PM
> >> > Subject: [ntfsd] Encrypt filter device driver on ntfs
> >> >
> >> >
> >> >> Hi,
> >> >> I develop a Encrypt filter device on ntfs–using Des to encrypt file
> >> >> data.
> >> >> It works well with those files of which length is aligned to 8 ,but
> >> >> make
> >> >> funny code with files of which length is not aligned to 8.
> >> >> Anyone know why is it?
> >> >> Thanks a lot
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> –http://www.eyou.com
> >> >> --?ȶ??ɿ??ĵ??? ???ʼ? ?ƶ???ǩ ??? ???洢…???δ??
> >> >>
> >> >>
> >> >> –http://vip.eyou.com
> >> >> --???¼???VIP??? ע???û???
> >> >>
> >> >>
> >> >>
> >> >> —
> >> >> Questions? First check the IFS FAQ at
> >> >> https://www.osronline.com/article.cfm?id=17
> >> >>
> >> >> You are currently subscribed to ntfsd as: xxxxx@sagetech.com.cn
> >> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >>
> >>
> >>
> >> —
> >> Questions? First check the IFS FAQ at
> >> https://www.osronline.com/article.cfm?id=17
> >>
> >> You are currently subscribed to ntfsd as: ildee@263.net
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >>
>
>
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: ildee@263.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>