Skip to content

Commit

Permalink
update some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rmtomal00 committed May 7, 2024
1 parent ae3de07 commit dc36f62
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file removed out/artifacts/Nagad_Payment_jar/Nagad-Payment.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import com.tomal.Nagad.Payment.exception.AsymmetricEncryptionFailure;
import jakarta.xml.bind.DatatypeConverter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
Expand All @@ -14,10 +16,10 @@
import java.security.spec.X509EncodedKeySpec;
import java.util.Base64;

public class CryptoCommon {

private final String privateKey = "src/marchent_private.pem";
private final String publicKey = "src/marchent_public.pem";
public class CryptoCommon {
private final String privateKey = "src/main/java/com/tomal/Nagad/Payment/CryptoUtility/marchent_private.pem";
private final String publicKey = "src/main/java/com/tomal/Nagad/Payment/CryptoUtility/marchent_public.pem";

public byte[] sign(PrivateKey merchantPrivateKey, byte[] bytes) {
Object var4 = null;
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit dc36f62

Please sign in to comment.