We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 567a697 commit 9407c36Copy full SHA for 9407c36
Crypto/Get Transaction.bru
@@ -5,7 +5,7 @@ meta {
5
}
6
7
get {
8
- url: http://localhost:8080/transactions/5
+ url: http://localhost:8080/transactions/1
9
body: none
10
auth: none
11
src/main/java/tech/buildrun/crypto/service/CryptoService.java
@@ -6,6 +6,7 @@
import java.io.IOException;
import java.nio.charset.StandardCharsets;
+
public class CryptoService {
12
private static final StrongTextEncryptor encryptor;
@@ -14,7 +15,7 @@ public class CryptoService {
14
15
try {
16
var privateKey = new DefaultResourceLoader()
17
.getResource("classpath:password.txt")
- .getContentAsString(StandardCharsets.US_ASCII);
18
+ .getContentAsString(StandardCharsets.UTF_8);
19
20
encryptor = new StrongTextEncryptor();
21
encryptor.setPassword(privateKey);
0 commit comments