public static String encrypt(String source) {
        return new SimpleHash(ALGORITHM_NAME, source, null, 1024).toHex();
    }
Encrypt the given string by SHA-256 encryption algorithm.

@param source string to be encrypted
@return SHA string after encrypt
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/SHAUtils.java