Class DigestUtils


  • @Private
    public class DigestUtils
    extends Object
    Utility methods around hashes, message digests, etc...
    Since:
    2.2
    Author:
    Simon Baslé
    • Method Detail

      • digestSha1Hex

        public static String digestSha1Hex​(String source)
        Hashes the source with SHA1 and returns the resulting hash as an hexadecimal string.
        Parameters:
        source - the text to hash.
        Returns:
        the SHA1 hash of the source, in hexadecimal form.