Ar preserve hashes

reopen of https://github.com/attr-encrypted/attr_encrypted/pull/117
sure, no problem