Swarup Kumar Mahapatra
Swarup Kumar Mahapatra
Java security module has the below Signature algorithm support. ``` String hash = "797c61b0a08a85da84ef59499fd26c3a44db9a718ba255423acae4407dc2948b"; Signature sig = Signature.getInstance("NONEwithRSA"); PrivateKey privateKey = getPrivateKey(); sig.initSign(privateKey); sig.update(hash.getBytes()); byte[] signedData = sig.sign(); System.out.println(Base64.getEncoder().encodeToString(signedData)); ```...
```javascript app.get("/order/:id", (req, res) => { let orderId = req.params.id; if (orderId) { getStatus(orderId).then((result) => { if (result.status == "succeeded"){ res.json({ progress: `Your order is ready 😊`, order: result.order })...
Considering you are still an under-grad, a fair attempt. there is some suggestions I have in API design. An "Order" is a Noun. It represents a resource in your application....