digest.base64_encode + digest.base64_decode