CryptoKey v0;
AesKey v1;
if (version == 0) {
AesCbcCryptoKey passwordKey = AesCbcCryptoKey.deriveKey(entry.getIterations(), entry.getSeed()
.toByteArray(), password);
byte[] plaintext = FathomdbCrypto.decrypt(passwordKey, entry.getCiphertext().toByteArray());
v0 = FathomdbCrypto.deserializeKey(plaintext);
HmacKey hmacKey = KeyczarUtils.deriveHmac(plaintext, entry.getSeed().toByteArray(), password);