Class BuiltinHashFunctions

    • Constructor Detail

      • BuiltinHashFunctions

        public BuiltinHashFunctions()
    • Method Detail

      • md5String

        public byte[] md5String​(java.lang.String str)
        MD5(X)

        Calculates the MD5 digest and returns the value as a 16 element byte[].

      • md5Bytes

        public byte[] md5Bytes​(byte[] bytes)
        MD5(X)

        Calculates the MD5 digest and returns the value as a 16 element byte[].

      • sha1String

        public byte[] sha1String​(java.lang.String str)
        SHA1(X)

        Calculates the SHA-1 digest and returns the value as a byte[].

      • sha1Bytes

        public byte[] sha1Bytes​(byte[] bytes)
        SHA1(X)

        Calculates the SHA-1 digest and returns the value as a byte[].

      • sha256String

        public byte[] sha256String​(java.lang.String str)
        SHA256(X)

        Calculates the SHA-1 digest and returns the value as a byte[].

      • sha256Bytes

        public byte[] sha256Bytes​(byte[] bytes)
        SHA256(X)

        Calculates the SHA-1 digest and returns the value as a byte[].

      • sha512String

        public byte[] sha512String​(java.lang.String str)
        SHA512(X)

        Calculates the SHA-1 digest and returns the value as a byte[].

      • sha512Bytes

        public byte[] sha512Bytes​(byte[] bytes)
        SHA512(X)

        Calculates the SHA-1 digest and returns the value as a byte[].