/** * Generate a SHA 512 checksum from the data in the given buffer and asynchronously return the hex encoded hash as a string. * * @param buffer * @return Observable returning the SHA 512 checksum */ public static Single<String> hash(Buffer buffer) { return hash(Flowable.just(buffer)); }