public class EtagUtil extends Object
public static String getEtagCode(byte[] bytes)
public byte[] sha1(byte[] data)
throws NoSuchAlgorithmException
public String urlSafeBase64Encode(byte[] data)
public String calcETag(String fileName) throws IOException, NoSuchAlgorithmException
public String calcETag(byte[] bytes) throws NoSuchAlgorithmException
Copyright © 2018. All rights reserved.