Implement facilities for generating keys in varying formats.