in reply to Portably transforming a string to a valid filename
I'm not at all up on "encryption" algorithms, but it seems that what you want is a two-way algorithm that (a) isn't computationally expensive and (b) yields 'encrypted' data that's encoded in filesystem-friendly strings. It's the last that's got me stumped. Just that thinking "encryption" might give you some ideas for other searches.
How about an alternate scheme: instead of backing things up one file to a node, write out all the user's nodes into a standard format (XML, anybody?):
<node> <title>How I learned to stop worrying and Love the NodeReaper</title> <time>December 31, 2001 : 24:00:00</time> <node_content>He got rid of those nasty nodes. nuff said</node_conte +nt> </node>
Then gzip the whole thing, and there's your backup.
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Portably transforming a string to a valid filename
by eg (Friar) on Feb 20, 2001 at 02:53 UTC | |
by Anonymous Monk on Feb 20, 2001 at 03:03 UTC | |
by arturo (Vicar) on Feb 20, 2001 at 03:10 UTC | |
by Anonymous Monk on Feb 20, 2001 at 03:20 UTC | |
by arturo (Vicar) on Feb 20, 2001 at 03:32 UTC |