Program: 56288
Project: 56288
Buggy source:
public JWT(final String secret){
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Mac mac=Utils.newHmac("String_Node_Str",secret);
    @Override public byte[] sign(    byte[] payload){
      return mac.doFinal(payload);
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      return Arrays.equals(payload,mac.doFinal(payload));
    }
  }
);
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Mac mac=Utils.newHmac("String_Node_Str",secret);
    @Override public byte[] sign(    byte[] payload){
      return mac.doFinal(payload);
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      return Arrays.equals(payload,mac.doFinal(payload));
    }
  }
);
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Mac mac=Utils.newHmac("String_Node_Str",secret);
    @Override public byte[] sign(    byte[] payload){
      return mac.doFinal(payload);
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      return Arrays.equals(payload,mac.doFinal(payload));
    }
  }
);
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Signature sig=Utils.newSignature("String_Node_Str");
    @Override public byte[] sign(    byte[] payload){
      try {
        sig.update(payload);
        return sig.sign();
      }
 catch (      SignatureException e) {
        throw new RuntimeException(e);
      }
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      try {
        sig.update(payload);
        return sig.verify(signature);
      }
 catch (      SignatureException e) {
        throw new RuntimeException(e);
      }
    }
  }
);
}

Fixed version (ground truth):
public JWT(final String secret){
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Mac mac=Utils.newHmac("String_Node_Str",secret);
    @Override public byte[] sign(    byte[] payload){
      return mac.doFinal(payload);
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      return Arrays.equals(signature,mac.doFinal(payload));
    }
  }
);
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Mac mac=Utils.newHmac("String_Node_Str",secret);
    @Override public byte[] sign(    byte[] payload){
      return mac.doFinal(payload);
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      return Arrays.equals(signature,mac.doFinal(payload));
    }
  }
);
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Mac mac=Utils.newHmac("String_Node_Str",secret);
    @Override public byte[] sign(    byte[] payload){
      return mac.doFinal(payload);
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      return Arrays.equals(signature,mac.doFinal(payload));
    }
  }
);
  CRYPTO_MAP.put("String_Node_Str",new Crypto(){
    final Signature sig=Utils.newSignature("String_Node_Str");
    @Override public byte[] sign(    byte[] payload){
      try {
        sig.update(payload);
        return sig.sign();
      }
 catch (      SignatureException e) {
        throw new RuntimeException(e);
      }
    }
    @Override public boolean verify(    byte[] signature,    byte[] payload){
      try {
        sig.update(payload);
        return sig.verify(signature);
      }
 catch (      SignatureException e) {
        throw new RuntimeException(e);
      }
    }
  }
);
}