Ar preserve hashes

reopen of https://github.com/attr-encrypted/attr_encrypted/pull/117
it shouldn't matter - not including it is an optimization