Let's say I have a file "hello.txt" containing the text "Hello, world!" I have application "textreader", that reads the file hello.txt and puts it in stdout. Next, i have encrypted the file "hello.txt". Can decrypt it a special library that can read the file byte by byte.
Ho do i can use application "textreader" to read from encrypted file as a normal file, using my library (or my application)? I can't write some temporary files under the terms of the problem.
It is possible to use named pipes (mkfifo), but prerequisite is the support seeking. File must be read randomly.
Does anyone have any ideas how i can to do it, if i haven't source code of "textreader"?