public static void main(String[] args) { String b = "U00QUfV1CRfIIU0NkcUCnA==258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; System.out.println(b + " SHA1 :" + EncoderHandler.encodeBySHA1(b)); }
public static String encodeBySHA1(String str) { String result = EncoderHandler.encode("SHA1", str); return result; }