Make shared key works, and removed unused lines.
Expose CryptFlag while encoding and decoding.
Expose CryptFlag also.
Make config:set() can add more args.
Make shared key works.