Scrivener is a powerful content-generation tool for writers that allows you to concentrate on composing and structuring long and difficult documents. While it gives you complete control of the formatting, its focus is on helping you get to the end of that awkward first draft.
You need - everything from sorting lines to advanced encryption and hashing! If You can't find what You're looking for, just drop me a message and maybe the tools suggested by You will be added. (tags: text tool)