code: public static byte[] sha512(byte [] message) {
              if (!(message!=null && message.length>0))
                  return null;
  
              byte [] out = new byte[hashLength];
  
              crypto_hash(out, message);
  
              return out;
          }
docs: /*
  @description
  Returns SHA-512 hash of the message.