Add a static method to get crypt key