added base64 methods and fixed formatting

added sha2562base64 methods and fixed formatting