add Sha384 and Sha512
add key test
reformat code
test DSig