fixed encryption base64 encoding bug

fixed encryption base64 encoding bug