func GetFileHMAC(filePath string) (string, error) {
	encryptedData, err := ioutil.ReadFile(filePath)
	if err != nil {
		return "", err
	}

	HMAC := make([]byte, gitCryptFileHMACLength)
	copy(HMAC, encryptedData[gitCryptFileHeaderLength:(gitCryptFileHeaderLength+gitCryptFileHMACLength)])

	return base64.StdEncoding.EncodeToString(HMAC), nil
}
// GetFileHMAC returns encrypted file HMAC
GetFileHMAC returns encrypted file HMAC
// GetFileHMAC returns encrypted file HMAC
func GetFileHMAC(filePath string) (string, error) {
	encryptedData, err := ioutil.ReadFile(filePath)
	if err != nil {
		return "", err
	}
	HMAC := make([]byte, gitCryptFileHMACLength)
	copy(HMAC, encryptedData[gitCryptFileHeaderLength:(gitCryptFileHeaderLength+gitCryptFileHMACLength)])
	return base64.StdEncoding.EncodeToString(HMAC), nil
}
func GetFileHMAC ( filePath string ) ( string , error ) { encryptedData , err := ioutil . ReadFile ( filePath ) if err != nil { return " " , err } HMAC := make ( [ ] byte , gitCryptFileHMACLength ) copy ( HMAC , encryptedData [ gitCryptFileHeaderLength : ( gitCryptFileHeaderLength + gitCryptFileHMACLength ) ] ) return base64 . StdEncoding . EncodeToString ( HMAC ) , nil }
GetFileHMAC returns encrypted file HMAC
GetFileHMAC returns encrypted file HMAC