updated
add modular base64, encode tested