Finally working  SHA1 generator, need to workup on command line kind of thing.