code: public static byte [] scalseMult(byte [] n, byte [] p) {
              if (!(n.length==scalarLength && p.length==groupElementLength))
                  return null;
  
              byte [] q = new byte [scalarLength];
  
              crypto_scalarmult(q, n, p);
  
              return q;
          }
docs: /*
  @description
  Multiplies an integer n by a group element p and
  returns the resulting group element.