Adding configuration to support scrypt

Took ArtForz changes to support scrypt and added flag and config entries to enable.