Added support for sha384, sha512.