package org.knowm.xchange.bitfinex.v1.service;
import net.iharder.Base64;
import si.mazi.rescu.ParamsDigest;
import si.mazi.rescu.RestInvocation;
public class BitfinexPayloadDigest implements ParamsDigest {
@Override
public synchronized String digestParams(RestInvocation restInvocation) {
String postBody = restInvocation.getRequestBody();
return Base64.encodeBytes(postBody.getBytes());
}
}