Added static method for quicker generation of the key as a string.