Update Encryption.php

Put the double HMAC operation in its own method.