public static char[] getSaltedHash(String algorithm, char[] msg) {
		char[] salt = new char[SALT_LENGTH];
		for (int i = 0; i < SALT_LENGTH; i++) {
			salt[i] = getRandomLetterOrDigit();
		}
		return getSaltedHash(algorithm, salt, msg);
	}
Generate salted hash for specified message using random salt.  
First 4-characters of returned hash correspond to the salt data.
@param algorithm message digest algorithm
@param msg message text
@return salted hash using randomly generated salt which is
returned as a prefix to the hash
@throws IllegalArgumentException if specified algorithm is not supported
@see MessageDigest for supported hash algorithms
Ghidra/Framework/FileSystem/src/main/java/ghidra/util/HashUtilities.java