public void writeHashes() throws IOException {
    open(SIGNATURE_OFFSET).write(computeSignature());
    open(CHECKSUM_OFFSET).writeInt(computeChecksum());
  }
Generates the signature and checksum of the dex file {@code out} and writes them to the file.
android/android_framework/dex-maker/src/main/java/com/android/dex/Dex.java