switch to 32 byte signatures and sha512